lib/effects/convertToVanilla
Esta página aún no está disponible en tu idioma.
Functions
Section titled “Functions”convertToVanilla()
Section titled “convertToVanilla()”function convertToVanilla<A, E>(effect: Effect<A, E, never>): Promise<any>
Defined in: studiocms/packages/studiocms/src/lib/effects/convertToVanilla.ts:11^
Converts an Effect
into an object containing both synchronous and asynchronous execution methods.
Type Parameters
Section titled “Type Parameters”A
The type of the success value produced by the effect.
E
The type of the error value produced by the effect.
Parameters
Section titled “Parameters”effect
Section titled “effect”Effect
<A
, E
, never
>
The Effect
instance to be converted.
Returns
Section titled “Returns”Promise
<any
>