feat(rpc): add defineService and the immutable procedure builder

This commit is contained in:
2026-08-05 13:53:14 +05:30
parent 21ea8a84a0
commit e16903b286
3 changed files with 127 additions and 0 deletions
+2
View File
@@ -20,3 +20,5 @@ export type {
export { RPC_ERROR_CODES, ServiceError, failure, isRetryableStatus, success } from "./errors.ts";
export type { RpcErrorCode, ToResultOptions } from "./errors.ts";
export { defineService, procedure, ProcedureBuilder } from "./contract.ts";