allex_servicecollectionservice

1.0.1 • Public • Published

ServiceCollectionService

This is a specialization of ServiceContainerService.

Initiating the service

It needs a modulename field in its construction propertyhash.

The module specified by the modulename field will be used to instantiate all contained sub-Services.

Spawning sub-Services

The spawn method of the service User will need a propertyhash for the new sub-Service.

The propertyhash for service User's spawn must contain a name field. That name field will declare the name of the sub-Service under which it will be mapped in the subservices map of the ServiceCollectionService instance.

Package Sidebar

Install

npm i allex_servicecollectionservice

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

9.51 kB

Total Files

18

Last publish

Collaborators

  • andrija-hers
  • veljkopopovic