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

Add a tx watcher in Lua #13

Open
1 of 2 tasks
glihm opened this issue Nov 4, 2023 · 1 comment
Open
1 of 2 tasks

Add a tx watcher in Lua #13

glihm opened this issue Nov 4, 2023 · 1 comment

Comments

@glihm
Copy link
Owner

glihm commented Nov 4, 2023

Sometimes, users may not want to user the watch_interval. Having a Tx watcher can make them configure how they want the waiting.

Also, we can accept an array-like, in order to watch several txs like a join for threading.

watch_tx("tx_hash", interval_ms);

watch_txs({ "tx_hash1", "tx_hash2" }, interval_ms);
  • Single watcher
  • Multi watcher
@glihm
Copy link
Owner Author

glihm commented Nov 5, 2023

Single watcher added in 2c50f6d.

Repository owner deleted a comment from tim-tepia Mar 18, 2024
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

No branches or pull requests

1 participant