Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface EventStreamMarshallerDeserFn<StreamType>

Type Parameters

  • StreamType

Hierarchy

  • EventStreamMarshallerDeserFn
  • 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>