Skip to content

feat: introduce timeout#45

Merged
shumkov merged 6 commits into
masterfrom
timeout
Jun 30, 2022
Merged

feat: introduce timeout#45
shumkov merged 6 commits into
masterfrom
timeout

Conversation

@strophy

@strophy strophy commented Jun 22, 2022

Copy link
Copy Markdown
Contributor

This PR is based on #22 and also adds a function to specify the timeout after creating the RPC client. I need help understanding how callbacks are supposed to work inside promises, and how to test this function properly.

Comment thread lib/index.js Outdated
Comment thread lib/index.js Outdated
@shumkov shumkov changed the title chore: handle timeouts feat: introduce timeout Jun 23, 2022
Comment thread lib/index.js Outdated
Comment thread lib/index.js Outdated

@nmarley nmarley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@shumkov shumkov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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.

3 participants