Start an immutable implementation bound to a shared API contract.
Complete shared contract, or an intentional audience slice.
const todos = implement(api).group('todos', { inject: { db: DbToken } });const module = todos.withHandlers({ list: listHandler, create: createHandler });server.handleAll(implement(api).use(module).complete()); Copy
const todos = implement(api).group('todos', { inject: { db: DbToken } });const module = todos.withHandlers({ list: listHandler, create: createHandler });server.handleAll(implement(api).use(module).complete());
Start an immutable implementation bound to a shared API contract.