Skip to content

feat: optional timeout for requests to the bank - #45

Open
agiledivider wants to merge 2 commits into
robocode13:mainfrom
agiledivider:feat/optional-request-timeout
Open

agiledivider wants to merge 2 commits into
robocode13:mainfrom
agiledivider:feat/optional-request-timeout

Conversation

@agiledivider

Copy link
Copy Markdown

HttpClient.timeoutMs: when set, every request gets an AbortSignal.timeout, so a bank that doesn't answer can't hang a dialog (and the caller) forever.

It is unset by default, so nothing changes for existing callers.

Tests: src/tests/httpClientTimeout.test.ts. Existing tests and the build (tsc, Biome) pass.

HttpClient.timeoutMs: when set, every request gets an
AbortSignal.timeout, so a bank that doesn't answer can't hang a dialog.
Unset by default, so nothing changes for existing callers.
@agiledivider agiledivider changed the title Optional timeout for requests to the bank feat: optional timeout for requests to the bank Nov 14, 2026
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