Closed IsseW closed 2 years ago
this allows for the pattern
let net = NetworkResource::new_client(tokio_rt.clone(), task_pool.0.clone());
for both native and web.
Not sure about not having Option on the parameter though.
Thank you for the PR! I fully agree that removing the Option is probably a good idea, since we already insert the fake Runtime for web builds anyway.
this allows for the pattern
for both native and web.
Not sure about not having Option on the parameter though.