Function pixel_engine::launch
source · Expand description
Takes a future and run it in the context of the engine
This is usefull when targeting wasm32 because we can’t use the futures’ block_on
method
and we need to use javascript’s promise type