@stricahq/ouroboros-network-js - v2.0.0
    Preparing search index...

    Type Alias ProtocolSpec<S, M>

    type ProtocolSpec<S extends string, M extends string> = {
        agency: Record<S, Agency>;
        init: S;
        messages: Record<M, Transition<S>>;
        name: string;
    }

    Type Parameters

    • S extends string
    • M extends string
    Index
    agency: Record<S, Agency>
    init: S
    messages: Record<M, Transition<S>>
    name: string

    the protocol's name as it appears in errors