Comments (4)
Could you explain a bit more what you are trying to achieve? JsRuntime
is meant to be used from async contexts and all examples do that. In Rust when you have some async operations going on they need to "block" at least at the top level and that's what the examples are showcasing.
from deno_core.
I want to run a Gtk4-app and a JS-Runtime at the same time. It is possible to run the JS-Runtime not blocking and then run the GTK-app blocking?
from deno_core.
To be honest, I'm not sure - do you use Tokio in your app?
from deno_core.
I'm doing the same as in this example.
from deno_core.
Related Issues (20)
- Fetching from Private NPM Repo Doesn't Work/Misleading User Feedback HOT 1
- op2 doesn't handle result with optional serde
- Assertion error with Jemalloc: 'assertion failed: layout.size() != 0' HOT 2
- `op2` doesn't support `Result<*mut c_void>`
- `op2` doesn't support `&mut [u8]` or `&mut [u32]` HOT 1
- `op2` doesn't support `#[smi] Option<ResourceId>`
- `op2`: String exceeding max length should throw `TypeError`, not `Error`
- `op_close` with `WasmStreamingResource` invokes JS from an op while `OpState` is borrowed HOT 6
- `op2` doesn't support `#[cfg]` attributes
- `op2` doesn't allow `#![allow()]` HOT 2
- `op2` doesn't support `&mut [u32]` HOT 1
- `op2` doesn't support `Option<JsBuffer>`
- `op2` doesn't support `serde_json::Value` HOT 1
- Possible bugs in resource recovery HOT 1
- `op2` doesn't support clippy suppressions HOT 3
- `op2` with `#[buffer]` attribute doesn't work in some cases HOT 2
- `op2` support `#[string]` with `Option<&str>` and `Option<Cow<str>>`
- Get additional properties present on `Error` class inside `JsError`
- Add more examples and docs about attribute "op2" and macro "extension!"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_core.