Skip to content

Commit

Permalink
Action doc commit
Browse files Browse the repository at this point in the history
  • Loading branch information
clojure-build committed Jan 23, 2025
1 parent 9e76160 commit cfb53ac
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/clojure.core.async.flow.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,18 @@
Optionally, a returned init state may contain the
keys ::flow/in-ports and/or ::flow/out-ports. These should be maps
of cid -> a core.async.channel. The cids must not conflict with the
in/out ids. These channels will become part of the read/write set of
the process, but are not otherwise visible/resolvable within the
flow. Ports are a way to have data enter or exit the flow from
outside. Use :transition to coordinate the lifecycle of these
in/out ids. These channels will become part of the input/output set
of the process, but are not otherwise visible/resolvable within the
flow. Ports are a way to allow data to enter or exit the flow from
outside of it. Use :transition to coordinate the lifecycle of these
external channels.

Optionally, _any_ returned state, whether from :init, :transition
or :transform, may contain the key ::flow/input-filter, a predicate
of cid. Only inputs (including in-ports) satisfying the predicate
will be part of the next channel read set. In the absence of this
predicate all inputs are read.

:transition - optional, (state transition) -> state'

transition will be called when the process makes a state transition,
Expand Down

0 comments on commit cfb53ac

Please sign in to comment.