Effection Logo

interface WithResolvers

thefrontside/effection

interface WithResolvers<T>

The return type of https://effection-www-pggsafb7y58a.deno.dev/api/v3/withResolvers. It contains an operation bundled with synchronous functions that determine its outcome.

Type Parameters

T

Properties

operation: https://effection-www-pggsafb7y58a.deno.dev/api/v3/Operation&lt;T>

No documentation available.

Methods

resolve(value: T): void

Cause operation to produce value. If either resolve orreject has been called before, this will have no effect.

reject(error: Error): void

Cause operation to raise Error. Any calling operation waiting on operation will. Yielding to operation subsequently will also raise the same error. * If either resolve orreject has been called before, this will have no effect.