Subset of repo DataStore functions needed by Producer.

interface DataStore {
    insert: ((...args: (Data | AnyIterable<Data>)[] | [{}, ...(Data | AnyIterable<Data>)[]]) => Promise<void>);
}

Hierarchy (view full)

Properties

Properties

insert: ((...args: (Data | AnyIterable<Data>)[] | [{}, ...(Data | AnyIterable<Data>)[]]) => Promise<void>)

Insert one or more Data packets.

Arguments include:

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