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.
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.
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
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.
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.
(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.
(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.
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.
(-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! 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.
(-tell receiver args)
Asyncronous fire and forget protocol. This API returns receiver.
Asyncronous fire and forget protocol. This API returns receiver.
(-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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close