Effection Logo

function withResolvers

thefrontside/effection

function withResolvers<T>(): 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-jctyb5nxhzq0.deno.dev/api/v3/withResolvers/action constructor. This is the Effection equivalent of [Promise.withResolvers()]https

Type Parameters

T

Return Type

https://effection-www-jctyb5nxhzq0.deno.dev/api/v3/withResolvers/WithResolvers&lt;T>

an operation and its resolvers.