Closed marvinpan8 closed 2 years ago
Hi @marvinpan8, thank you for the bug report. On the compiling error - Sync is not implemented for the the return of your .await return. This is unfortunately outside the realm of this library and what I'm seeing it looks like it in the realm of http and/or Hyper's library.
Something similar was reported earlier: https://github.com/mvniekerk/tokio-cron-scheduler/issues/8 The suggested workaround was to send a trigger to an MPSC channel and then awaiting the return of that.
I'm closing this - please feel free to keep on commenting on this bug report, I'll try to assist.
How to use async function in run thread? eg:
but report this error: