Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventStreamMarshallerDeserFn<StreamType>

A function which deserializes binary event stream message into modeled shape.

Type parameters

  • StreamType

Hierarchy

  • EventStreamMarshallerDeserFn

Callable

  • __call<T>(body: StreamType, deserializer: (input: Record<string, Message>) => Promise<T>): AsyncIterable<T>
  • A function which deserializes binary event stream message into modeled shape.

    Type parameters

    • T

    Parameters

    • body: StreamType
    • deserializer: (input: Record<string, Message>) => Promise<T>
        • (input: Record<string, Message>): Promise<T>
        • Parameters

          Returns Promise<T>

    Returns AsyncIterable<T>