response - Factor Documentation

response


Vocabulary
msgpack .rpc

Definition
IN: msgpack.rpc

TUPLE: response msgid error result ;


Methods
USING: accessors assocs combinators kernel msgpack.rpc ;

M: response feed-packet
swap dupd [ msgid>> ] [ outgoing-requests>> ] bi* delete-at*
[ ( response -- ) call-effect ] [ unknown-response ] if ;


USING: accessors arrays kernel msgpack msgpack.rpc ;

M: response write-msgpack
1 swap [ msgid>> ] [ error>> ] [ result>> ] tri 4array
write-msgpack ;

AltStyle によって変換されたページ (->オリジナル) /