Subset of repo DataStore functions needed by Producer.

interface DataStore {
    insert: ((...args) => Promise<void>);
}

Hierarchy (view full)

Properties

Properties

insert: ((...args) => Promise<void>)

Insert one or more Data packets.

Type declaration

    • (...args): Promise<void>
    • Parameters

      • Rest ...args: (Data | AnyIterable<Data>)[] | [{}, ...(Data | AnyIterable<Data>)[]]

      Returns Promise<void>

Remarks

Arguments include:

  • an optional Options object
  • zero or more Data, Iterable, or AsyncIterable

Generated using TypeDoc