ExidexE
Denoβ€’3y agoβ€’
7 replies
Exidex

Async OP that returns value instead of promise

In deno_runtime is possible to have async op that returns the resolved value instead of promise? Kinda like calling tokio's block_on in the op (is it possible)? For my use case i use crate in that uses async but in js I use library that will call this op but it doesn't support async. I there any way to work around this problem?
Was this page helpful?