Type Alias: IsolatedEmitter<S>
ts
type IsolatedEmitter<S> = {
[K in keyof S["events"]]: (payload: EventPayload<S["events"][K]>) => void;
};Defined in: src/batteries/isolation/types.ts:295
Emit an event declared on a spec — the guest-side capability handed alongside the implementation.
Type Parameters
| Type Parameter |
|---|
S extends IsolatedServiceSpec |