Contracts-TS Documentation
    Preparing search index...

    Interface ContractsConfig

    The Contracts configuration

    interface ContractsConfig {
        partners?: Contracts[];
        ratified?: boolean;
        shutdownEvents?: string[];
    }
    Index

    Properties

    partners?: Contracts[]

    optional partners. Aggregated Contracts

    ratified?: boolean

    if true, only ratified contracts can be used

    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