Adds new_with_async_fn and try_new_async static functions to OwningHandle to support handle creation by async functions.
These are gated behind a new async feature.
Note that async closures are currently unstable, so unlike their synchronous counterparts these functions will have to be passed a regular function in stable rust.
Adds
new_with_async_fn
andtry_new_async
static functions to OwningHandle to support handle creation by async functions. These are gated behind a newasync
feature.Note that async closures are currently unstable, so unlike their synchronous counterparts these functions will have to be passed a regular function in stable rust.
Closes: #67