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

feat(plugin): add async io for the plugin #116

Closed
wants to merge 5 commits into from

Conversation

vincenzopalazzo
Copy link
Collaborator

Adding the support of the async io for reading to the
std io.

Fixes #98

@vincenzopalazzo
Copy link
Collaborator Author

See

➜  VincentSSD clightning --testnet stop
thread 'main' panicked at /home/vincent/.cargo/git/checkouts/cln4rust-0de0305144cd79e4/1c04dbe/plugin/src/plugin.rs:129:24:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
{
   "result": "Shutdown complete"
}

Adding the support of the async io for reading to the
std io.

Link: #98
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@vincenzopalazzo
Copy link
Collaborator Author

not sure we want to use this solution :/

@vincenzopalazzo vincenzopalazzo marked this pull request as draft April 1, 2024 13:59
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.

using some smart way to implement the async programing in the Plugin::start
1 participant