Liking cljdoc? Tell your friends :D

clj-foundation.caller

Unified api for making synchronous and asynchronous requests. The intent is to unify calls to actor libraries along with other kinds of calls.

Unified api for making synchronous and asynchronous requests.  The intent is to
unify calls to actor libraries along with other kinds of calls.
raw docstring

!clj

Send a message to a receiver, passing args. This API returns receiver. This function delegates to implementations of the Caller protocol, so it is extensible by implementing Caller over additional types.

Send a message to a receiver, passing args.  This API returns receiver.  This function
delegates to implementations of the Caller protocol, so it is extensible by
implementing Caller over additional types.
sourceraw docstring

!!clj

Synchronous send-and-wait protocol. Depending on the receiver, (e.g.: remote) synchronous behavior may not be possible, in which case this is synonymous with asynchronous -tell. Returns receiver

Synchronous send-and-wait protocol.  Depending on the receiver, (e.g.: remote)
synchronous behavior may not be possible, in which case this is synonymous
with asynchronous -tell.  Returns receiver
sourceraw docstring

?clj

Send a message to a receiver, passing args, and return a future or promise that will contain the result. This function delegates to implementations of the Caller protocol so it is extensible by implementing Caller over additional types.

Send a message to a receiver, passing args, and return a future or promise
that will contain the result.  This function delegates to implementations of
the Caller protocol so it is extensible by implementing Caller over additional types.
sourceraw docstring

??clj

Send a message to a receiver, passing args, and wait for the result.

Send a message to a receiver, passing args, and wait for the result.
sourceraw docstring

askclj

(ask receiver & args)

Send a message to a receiver, passing args, and return a future or promise that will contain the result. This function delegates to implementations of the Caller protocol so it is extensible by implementing Caller over additional types.

Send a message to a receiver, passing args, and return a future or promise
that will contain the result.  This function delegates to implementations of
the Caller protocol so it is extensible by implementing Caller over additional types.
sourceraw docstring

ask!clj

(ask! receiver & args)

Send a message to a receiver, passing args, and wait for the result.

Send a message to a receiver, passing args, and wait for the result.
sourceraw docstring

Callercljprotocol

A protocol for sending messages synchronously or asynchronously. The message may be sent to a function, in which case args is just the function's args. Or the message may be sent to an object, in which case (first args) is the method to invoke on the object. This protocol is intended to be implemented by clients, but not used directly. Instead, use the functions/macros defined in this namespace.

A protocol for sending messages synchronously or asynchronously.  The message
may be sent to a function, in which case args is just the function's args.  Or the
message may be sent to an object, in which case (first args) is the method to invoke
on the object.  This protocol is intended to be implemented by clients, but not used
directly.  Instead, use the functions/macros defined in this namespace.

-askclj

(-ask receiver args)

Send a message to a receiver, passing args, and return the result in a Future or Promise.

Send a message to a receiver, passing args, and return the result
in a Future or Promise.

-ask!clj

(-ask! receiver args)

Send a message to a receiver, passing args, and wait for the result.

Send a message to a receiver, passing args, and wait for the result.

-tellclj

(-tell receiver args)

Asyncronous fire and forget protocol. This API returns receiver.

Asyncronous fire and forget protocol.  This API returns receiver.

-tell!clj

(-tell! receiver args)

Synchronous send-and-wait protocol. Depending on the receiver, (e.g.: remote) synchronous behavior may not be possible, in which case this is synonymous with asynchronous -tell. Returns receiver.

Synchronous send-and-wait protocol.  Depending on the receiver, (e.g.: remote)
synchronous behavior may not be possible, in which case this is synonymous
with asynchronous -tell.  Returns receiver.
sourceraw docstring

method-missingclj

source

tellclj

(tell receiver & args)

Send a message to a receiver, passing args. This API returns receiver. This function delegates to implementations of the Caller protocol, so it is extensible by implementing Caller over additional types.

Send a message to a receiver, passing args.  This API returns receiver.  This function
delegates to implementations of the Caller protocol, so it is extensible by
implementing Caller over additional types.
sourceraw docstring

tell!clj

(tell! receiver args)

Synchronous send-and-wait protocol. Depending on the receiver, (e.g.: remote) synchronous behavior may not be possible, in which case this is synonymous with asynchronous -tell. Returns receiver.

Synchronous send-and-wait protocol.  Depending on the receiver, (e.g.: remote)
synchronous behavior may not be possible, in which case this is synonymous
with asynchronous -tell.  Returns receiver.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close