Function: resolveIsolatedServiceSpec()
ts
function resolveIsolatedServiceSpec<M, S, E>(
input: IsolatedServiceSpecInput<M, S, E>,
): IsolatedServiceSpec<M, S, E>;Defined in: src/batteries/isolation/types.ts:198
Resolve an isolated-service spec input into its final IsolatedServiceSpec shape — filling in {} defaults for omitted methods/streams/events. Pure and zero-import: performs NO validation (no duplicate-name check, no empty-name check). This is the primitive the public, validating defineIsolatedService (exported from validation.ts and re-exported from this battery's index.ts barrel) delegates to after it validates the input — call this directly only from tests that intentionally want to bypass validation.
Type Parameters
| Type Parameter | Default type |
|---|---|
M extends MethodMap | Record<never, never> |
S extends StreamMap | Record<never, never> |
E extends EventMap | Record<never, never> |
Parameters
| Parameter | Type |
|---|---|
input | IsolatedServiceSpecInput<M, S, E> |
Returns
IsolatedServiceSpec<M, S, E>