Effection Logo

interface Subscription

thefrontside/effection

interface Subscription<T, TDone>

The Effection equivalent of an AsyncIterator

A subscription acts like a stateful queue that provides a sequence of values via the next() method. Normally a subscription is created via a https://effection-www-pggsafb7y58a.deno.dev/api/v4/Stream.

Type Parameters

T

TDone

Methods

next(): https://effection-www-pggsafb7y58a.deno.dev/api/v4/Operation&lt;IteratorResult&lt;T, TDone>>

No documentation available.

See