Skip to content

Type Alias: NwjsServiceEntrypointOptions ​

NwjsServiceEntrypointOptions = object

The options of nwjsServiceEntrypoint.

Properties ​

global? ​

optional global?: object

The object the bridge is put on.

Default ​

ts
the global object (the one NW.js shares with its windows)

key? ​

optional key?: string

The key of the bridge: it is put on global[Symbol.for(key)].

Default ​

ts
'lakutata:service'

middlewares? ​

optional middlewares?: MiddlewareDefinition[]

The middlewares of this adapter's actions, run after the entrypoint's global middlewares.


name? ​

optional name?: string

The adapter name, to tell apart several service adapters of one entrypoint.

Released under the MIT License.