Saltearse al contenido

lib/effects/convertToVanilla

Esta página aún no está disponible en tu idioma.

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.

A

The type of the success value produced by the effect.

E

The type of the error value produced by the effect.

Effect<A, E, never>

The Effect instance to be converted.

Promise<any>