Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventStreamMarshallerSerFn<StreamType>

A function that serializes modeled shape into binary stream message.

Type parameters

  • StreamType

Hierarchy

  • EventStreamMarshallerSerFn

Callable

  • __call<T>(input: AsyncIterable<T>, serializer: (event: T) => Message): StreamType
  • A function that serializes modeled shape into binary stream message.

    Type parameters

    • T

    Parameters

    • input: AsyncIterable<T>
    • serializer: (event: T) => Message

    Returns StreamType