Yieldable. Use as yield* ch.send(value) from within a gen body.
The first call settles the channel; subsequent calls are silently
dropped (idempotent).
Return value is Operation<void> rather than void so the only
way to fire send is via yield* inside a fiber — which enforces
the channel-is-intra-workflow contract at the type level.
Yieldable. Use as
yield* ch.send(value)from within a gen body. The first call settles the channel; subsequent calls are silently dropped (idempotent).Return value is
Operation<void>rather thanvoidso the only way to fire send is viayield*inside a fiber — which enforces the channel-is-intra-workflow contract at the type level.