broker.bus removed. Use events for subscriptions in service schema.broker.emitLocal renamed as broker.broadcastLocalbroker.emit is balanced (grouping by service name)broker.broadcast is not balanced (same logic as the old emit)renamed internal events. (Starts with $)
$node.connected$node.updated$node.disconnected$services.changed$circuit-breaker.closed$circuit-breaker.opened$circuit-breaker.half-openedchanged returned structure of $node.list, $node.services, $node.actions, $node.health
strategy in broker options is a class instead of an instanceheartbeatInterval: 5, heartbeatTimeout: 15, circuitBreaker.maxFailures: 3$node.eventswaitForServices method in services & broker #87 transit.sendPing. For responses subscribe to $node.pong event.$ npm install moleculer@next
~ Sept 15
There's as typo on $services.chaged
Thanks, fixed. :+1:
doing broker.emit balanced is a great idea!! excellent project btw!
ETA changed to Sept 15
Released :tada:
Most helpful comment
Released :tada: