Newer version available
You’re viewing the API reference for version 3.3.0, but the latest version is 3.4.0. The latest version include may important updates and fixes.
View Latest Versionfunction withResolvers
thefrontside/effectionfunction 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 action constructor. This is the Effection equivalent of [Promise.withResolvers()]https
Type Parameters
T
Return Type
an operation and its resolvers.