UNPKG

nope-js-node

Version:

NoPE Runtime for Nodejs. For Browser-Support please use nope-browser

28 lines (27 loc) 1.13 kB
/** * @author Martin Karkowski * @email m.karkowski@zema.de * @desc [description] */ import { INopeDispatcherOptions } from "../types/nope/nopeDispatcher.interface"; import { IPackageDescription } from "../types/nope/nopePackage.interface"; /** * Generates the Default Package, containing all relevant elements of the * nope-package. This package is used by the {@link NopePackageLoader} to * provided a basic package, which could be used for injecting different * nope-elements into other elements. (To make use of injection, checkout https://inversify.io/) * * @export * @param options ommunicationLayer The Layer, which should be used. * @param {boolean} singleton Enables a Single Dispatcher in a Process. Otherwise multiple Dispatchers are used. * @return {*} */ export declare function generateNopeBasicPackage(options: INopeDispatcherOptions, singleton?: boolean): IPackageDescription<{ dispatcher: symbol; observableFactory: symbol; emitterFactory: symbol; observable: symbol; emitter: symbol; communicationLayer: symbol; dispatcherOptions: symbol; }>;