plainfp - v0.1.0
    Preparing search index...

    Type Alias MatchHandlers<T, E, U>

    Handlers passed to match — one branch per ResultAsync case. Either branch may be async.

    type MatchHandlers<T, E, U> = {
        err: (error: E) => U | Promise<U>;
        ok: (value: T) => U | Promise<U>;
    }

    Type Parameters

    • T
    • E
    • U
    Index

    Properties

    Properties

    err: (error: E) => U | Promise<U>
    ok: (value: T) => U | Promise<U>