Manage child ioloops
Manage child ioloops
(child-> {:keys [:frereth.cp.shared.child/structure-updater
:frereth.weald.logging/logger :frereth.weald.logging/state-atom
:frereth.cp.message.specs/stream
:frereth.cp.shared.specs/crypto-key]
:as details}
nonce-prefix
template
structure-atom
message-bytes)
Callback for handling message packets from the child
Callback for handling message packets from the child
(do-halt! log-state child)
(fork! {:keys [:frereth.weald.specs/logger :frereth.cp.message.specs/->child
:frereth.cp.message.specs/child-spawner!
:frereth.cp.message.specs/message-loop-name]
log-state :frereth.weald.specs/state
:as builder}
child->)
Create a new Child to do all the interesting work
Create a new Child to do all the interesting work
How many ms do we wait before giving up on a send?
How many ms do we wait before giving up on a send?
(update-callback! io-handle time-out new-callback)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close