Outbox mock with control helpers.
Terminate a subscription from the shell side with outbox.closed.
outbox.closed
Optional
Store an event as if observed from the network and fan it out to live subscriptions.
const outbox = createMockOutboxService();outbox.inject({ kind: 1, content: 'observed' }, 'carol'); Copy
const outbox = createMockOutboxService();outbox.inject({ kind: 1, content: 'observed' }, 'carol');
Outbox mock with control helpers.