Type alias ChangeStreamEvents<TSchema, TChange>

ChangeStreamEvents<TSchema, TChange>: {
    change(change) => void;
    end() => void;
    error(error) => void;
    init(response) => void;
    more(response?) => void;
    response() => void;
    resumeTokenChanged(token) => void;
} & AbstractCursorEvents

Type Parameters

Type declaration

  • change:function
    • Parameters

      • change: TChange

      Returns void

  • end:function
    • Returns void

  • error:function
    • Parameters

      • error: Error

      Returns void

  • init:function
    • Parameters

      • response: any

      Returns void

  • more:function
    • Parameters

      • Optional response: any
        Optional

      Returns void

  • response:function
    • Returns void

  • resumeTokenChanged:function
    • Parameters

      • token: unknown

      Returns void

Generated using TypeDoc