engine icon indicating copy to clipboard operation
engine copied to clipboard

Support cross-environment subscriptions in the format `.subscribe(event, listener)`

Open alisey opened this issue 3 years ago • 0 comments

Currently, cross-environment service subscriptions can only be defined as myService.subscribe(listener)

It would be really useful to also allow event name as the first argument: myService.subscribe(event, listener)

Right now the engine doesn't warn you or throw an error when you try to do this, the subscription just silently fails to work.

alisey avatar Apr 15 '21 05:04 alisey