Concurrency-TS Documentation
    Preparing search index...

    Interface ConcurrencyConfig

    The configuration used to create a new Concurrency instance.

    interface ConcurrencyConfig {
        contracts?: Contracts;
        shutdownEvents?: string[];
    }
    Index

    Properties

    contracts?: Contracts

    the contracts, some use case have their own Contracts instance.

    shutdownEvents?: string[]

    an optional list of events that when fired will shutdown Contracts the default is no events. It can be a custom event or system events like 'beforeExit', 'SIGINT', 'SIGTERM'

    list of shutdown event names