• Creates an Encoder for Envelope<T> from a Encoder<T>.

    Type Parameters

    • T

    Parameters

    • encodeT: Encoder<T>

      A payload encoder.

    Returns Encoder<Readonly<{
        namespace: string;
        payload: T;
    }>>

    The new encoder for Envelope<T>.

Generated using TypeDoc