Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Implement context-aware APIs for better concurrency and robustness #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Laisky
Copy link

@Laisky Laisky commented May 20, 2024

closes #56

This commit adds support for context parameters to various functions across the codebase, enabling cancellation of long-running operations and improving error handling.

closes everFinance#56

Here is the commit message:

**Summary**

This commit adds support for context parameters to various functions across the codebase, enabling cancellation of long-running operations and improving error handling.

**Key Changes**

- Added context support to various functions, such as `GetTransactionData`, `BroadcastData`, `Send*`, and `WarpTransfer`, allowing for cancellation and improved error handling.
- Updated multiple files to use the `context` package and its functions.
- Modified several functions to take a `context.Context` as an argument, enabling cancellation and better error handling.
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.

Support context.Context
1 participant