Skip to content
This repository was archived by the owner on Sep 13, 2019. It is now read-only.
This repository was archived by the owner on Sep 13, 2019. It is now read-only.

Service from a second, later registered, particle is not called! #29

@k7sleeper

Description

@k7sleeper

This works

scatter.registerParticle [ 'components.0', 'components.1' ], __dirname

(scatter.load 'svc|sequence!init').then (app_init) ->
  app_init()
.then () ->
  (scatter.load 'svc|sequence!start')
.then (app_start) ->
  app_start()

but registering the second particle later

scatter.registerParticle [ 'components.0' ], __dirname

(scatter.load 'svc|sequence!init').then (app_init) ->
  app_init()
.then () ->
  scatter.registerParticle [ 'components.1' ], __dirname
  (scatter.load 'svc|sequence!start')
.then (app_start) ->
  app_start()

does not work (service initis provioded by particle.0, service startis provioded by particle.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions