Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface EventStreamMarshallerDeserFn<StreamType>

Type Parameters

  • StreamType


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

    Type Parameters

    • T


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

          Returns Promise<T>

    Returns AsyncIterable<T>