Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventStreamMarshaller

Hierarchy

  • EventStreamMarshaller

Index

Properties

Properties

deserialize

deserialize: (body: any, deserializer: (input: Record<string, Message>) => any) => AsyncIterable<any>

Type declaration

    • (body: any, deserializer: (input: Record<string, Message>) => any): AsyncIterable<any>
    • Parameters

      • body: any
      • deserializer: (input: Record<string, Message>) => any
          • (input: Record<string, Message>): any
          • Parameters

            Returns any

      Returns AsyncIterable<any>

serialize

serialize: (input: AsyncIterable<any>, serializer: (event: any) => Message) => any

Type declaration

    • (input: AsyncIterable<any>, serializer: (event: any) => Message): any
    • Parameters

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

      Returns any