Skip to content

Feat/invoke options#3

Merged
lete114 merged 2 commits into
mainfrom
feat/invoke-options
May 23, 2026
Merged

Feat/invoke options#3
lete114 merged 2 commits into
mainfrom
feat/invoke-options

Conversation

@lete114

@lete114 lete114 commented May 23, 2026

Copy link
Copy Markdown
Member

No description provided.

lete114 added 2 commits May 23, 2026 15:54
…ke()

Add InvokeOptions type encapsulating timeout, serializer, and deserializer
for per-call invoke configuration. Default timeout (30s) is configurable
via IPCOptions.invokeTimeout. Timeout of 0 disables it entirely.

- invoke() overloads reduced from 3 to 2: (endpoint, options?) and
  (endpoint, data, options?)
- Removed old 4-argument invoke(endpoint, serializer, deserializer, data)
  in favor of options-based API
- #invokeImpl now supports timeout via system.runTimeout with cleanup
- runTimeout/clearRun mock in tests uses real setTimeout for proper
  fake-timer interaction
@lete114 lete114 merged commit fd92449 into main May 23, 2026
3 of 4 checks passed
@lete114 lete114 deleted the feat/invoke-options branch May 23, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant