@dxos/app-framework - v0.8.2
    Preparing search index...

    Type Alias IntentEffectDefinition<Input, Output>

    IntentEffectDefinition: (
        data: Input,
        undo: boolean,
    ) =>
        | MaybePromise<IntentEffectResult<Input, Output> | void>
        | Effect.Effect<IntentEffectResult<Input, Output> | void, Error>

    The implementation of an intent effect.

    Type Parameters

    • Input
    • Output

    Type declaration