Liking cljdoc? Tell your friends :D
Clojure only.

temporal.signals

Methods for managing signals from within workflows

Methods for managing signals from within workflows
raw docstring

<!clj

(<! state)
(<! state signal-name)
(<! state signal-name timeout)

Light-weight/parking receive of a single message with an optional timeout

Light-weight/parking receive of a single message with an optional timeout
sourceraw docstring

>!clj

(>! workflow-id signal-name payload)

Sends payload to workflow-id via signal signal-name.

Sends `payload` to `workflow-id` via signal `signal-name`.
sourceraw docstring

is-empty?clj

(is-empty? state signal-name)

Returns 'true' if 'signal-name' either doesn't exist or exists but has no pending messages

Returns 'true' if 'signal-name' either doesn't exist or exists but has no pending messages
sourceraw docstring

pollclj

(poll state signal-name)

Non-blocking check of the signal. Consumes and returns a message if found, otherwise returns 'nil'

Non-blocking check of the signal.  Consumes and returns a message if found, otherwise returns 'nil'
sourceraw docstring

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

× close