Retree - v1.0.0
    Preparing search index...

    Interface OptimisticUpdateContext<Mutation>

    Context passed to optimistic update handlers.

    interface OptimisticUpdateContext<
        Mutation extends MutationReference = MutationReference,
    > {
        args: FunctionArgs<Mutation>;
        promise: Promise<Awaited<FunctionReturnType<Mutation>>>;
    }

    Type Parameters

    Index

    Properties

    Properties

    Arguments passed to the mutation.

    promise: Promise<Awaited<FunctionReturnType<Mutation>>>

    Promise returned by the Convex mutation.