Skip to content

ForOptions

ForOptions<E> = object

E

readonly optional timeout?: Duration.Input

Starts after trigger finishes. Waits forever when omitted.


readonly optional trigger?: Effect.Effect<boolean, E>

Runs once the subscription is open. Returning false skips the wait.