We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Poll<T>
Hi, OpenDAL is currently developing an AwaitTreeLayer to give our users the ability to dump the execution tree at runtime: apache/opendal#2623
The missing part here is that how can we add instrument for functions returns Poll<T>? For example, AsyncRead will have API like the following:
AsyncRead
pub trait AsyncRead { // Required method fn poll_read( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8] ) -> Poll<Result<usize, Error>>;
Can we add instrument for every poll operations?
The text was updated successfully, but these errors were encountered:
cc @BugenZhao for discussion, thanks!
Sorry, something went wrong.
Great point! In theory, await-tree can be attached to any function that returns Poll. I'll investigate interface design.
await-tree
Poll
No branches or pull requests
Hi, OpenDAL is currently developing an AwaitTreeLayer to give our users the ability to dump the execution tree at runtime: apache/opendal#2623
The missing part here is that how can we add instrument for functions returns
Poll<T>
? For example,AsyncRead
will have API like the following:Can we add instrument for every poll operations?
The text was updated successfully, but these errors were encountered: