NDNts

    Type Alias ProducerHandler

    ProducerHandler: (
        interest: Interest,
        producer: Producer,
    ) => Promise<Data | undefined>

    Producer handler function.

    Type declaration

    The handler may be invoked concurrently up to ProducerOptions.concurrency instances. The handler should return a Promise that resolves to:

    MMNEPVFCICPMFPCPTTAAATR