ekardnt / bevy-tokio-tasks Goto Github PK
View Code? Open in Web Editor NEWSimple integration of a Tokio runtime into a Bevy app for background processing.
License: Creative Commons Zero v1.0 Universal
Simple integration of a Tokio runtime into a Bevy app for background processing.
License: Creative Commons Zero v1.0 Universal
if I try to build my project for wasm using bevy_tokio_tasks
it generates an error:
compile_error!("Only features sync,macros,io-util,rt,time are supported on wasm.");
is it possible to use the plain rt
instead of the multithreaded runtime?
Versions 0.12.0 and 0.13.0 are not available on crates.io, yet README lists them as available.
error: failed to select a version for the requirement `bevy-tokio-tasks = "^0.12.0"`
candidate versions found which didn't match: 0.14.0, 0.11.0, 0.10.2, ...
location searched: crates.io index
Is it possible to use tokio::spawn
inside function invoked in runtime.spawn_background_task
? For some reason tokio's spawned code doesn't run on default configuration.
Request: Please add motivation or comparison to README on when it makes sense to use bevy task pools vs bevy-tokio-tasks
Context: I am working with Bevy for the first time, and I can't get bevy task pools to do what I want, while your crate looks like its exactly what I need. At the same time I want to stick to first party APIs, so information on what kind of applications should use bevy task pools and what should use bevy-tokio-tasks would be very helpful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.