Effection Logo

function withResolvers

thefrontside/effection

function withResolvers<T>(description?: string): WithResolvers<T>

Create an and two functions to resolve or reject it, corresponding to the two parameters passed to the executor of the https://effection-www-pggsafb7y58a.deno.dev/api/v4/action constructor. This is the Effection equivalent of [Promise.withResolvers()]https

Type Parameters

T

Parameters

descriptionoptional: string

Return Type

https://effection-www-pggsafb7y58a.deno.dev/api/v4/WithResolvers&lt;T>

an operation and its resolvers.