DenoDDeno
Powered by
ExidexE
Denoβ€’3y agoβ€’
7 replies
Exidex

Async OP that returns value instead of promise

In
deno_runtime
deno_runtime
is possible to have async op that returns the resolved value instead of promise? Kinda like calling tokio's
block_on
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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

HandleScope in async op
ExidexEExidex / help
3y ago
RustyV8: Example of using PromiseResolver / async?
erkschEerksch / help
2y ago
Pass JS function to an Op that can be called after the Op ends
ExidexEExidex / help
17mo ago