Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lib/dispatch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/dispatch.iced
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ exports.Dispatch = class Dispatch extends Packetizer
INVOKE : 0
RESPONSE : 1
NOTIFY : 2
# CANCEL : 3, not implemented
CANCEL : 3
INVOKE_COMPRESSED : 4

##-----------------------------------------
Expand Down Expand Up @@ -104,6 +104,10 @@ exports.Dispatch = class Dispatch extends Packetizer
param = uncompress ctype, param
response = new Response @, seqid, ctype
@_serve { method, param, response }
when @CANCEL
# Server-side cancellation is not implemented; parse and drop the message.
[seqid,method] = msg
return
else
@_warn "Unknown message type: #{type}"

Expand Down
Loading