effect-tea-persistent
    Preparing search index...

    Interface KeyWithParameter<Name, Parameter>

    A key that takes a parameter, as a declaration lists it: its name, and the schema of its parameter.

    interface KeyWithParameter<Name extends string, Parameter> {
        "[KeyWithParameterTypeId]": typeof KeyWithParameterTypeId;
        name: Name;
        parameter: Codec<Parameter, Json>;
    }

    Type Parameters

    • Name extends string
    • Parameter
    Index
    "[KeyWithParameterTypeId]": typeof KeyWithParameterTypeId
    name: Name

    The key's name, which work returns the key's work under.

    parameter: Codec<Parameter, Json>

    The schema of the key's parameter, which tells apart two pieces of work under one name.