Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IteratorCallback<T>

The callback format for the forEach iterator method.

see

http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#~iteratorCallback

Type parameters

  • T

Hierarchy

  • IteratorCallback

Callable

  • __call(doc: T): void
  • The callback format for the forEach iterator method.

    Parameters

    • doc: T

      An emitted document for the iterator.

    Returns void

Generated using TypeDoc