Chunk interface when returnObject=true in stream

interface ObjectStreamed<T> {
    data: T;
    event: string;
    id: number;
}

Type Parameters

  • T

Properties

Properties

data: T
event: string
id: number