interface WithResolvers
thefrontside/effectionThe return type of withResolvers. It contains an operation bundled with synchronous functions that determine its outcome.
Type Parameters
T
Properties
- operation: Operation<T>
No documentation available.
Methods
- resolve(value: T): void
Cause operation to produce
value
. If eitherresolve
orreject
has been called before, this will have no effect.- reject(error: Error): void
Cause operation to raise
Error
. Any calling operation waiting onoperation
will. Yielding tooperation
subsequently will also raise the same error. * If eitherresolve
orreject
has been called before, this will have no effect.