acquireMessageTarget
acquireMessageTarget<
Message,Snapshot>(target):Effect<MessageTarget<Message,Snapshot>,never,Scope>
Defined in: packages/core/src/message/target.ts:76
Scopes a target so close() runs when the surrounding scope closes.
Type Parameters
Section titled “Type Parameters”Message
Section titled “Message”Message
Snapshot
Section titled “Snapshot”Snapshot
Parameters
Section titled “Parameters”target
Section titled “target”MessageTarget<Message, Snapshot>
Returns
Section titled “Returns”Effect<MessageTarget<Message, Snapshot>, never, Scope>