NDNts

    Interface DataStore

    Subset of repo DataStore functions needed by Producer.

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

    Hierarchy (View Summary, Expand)

    Index

    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
    MMNEPVFCICPMFPCPTTAAATR