utkarshkukreti / draco

Draco is a Rust library for building client side web applications with Web Assembly.
Apache License 2.0
303 stars 18 forks source link

WIP: feat(fetch): proof of concept `fetch` module implementation #4

Closed utkarshkukreti closed 6 years ago

utkarshkukreti commented 6 years ago

This is a very simple wrapper for fetch, powered by futures 0.1. The Mailbox struct now has a spawn function that takes any Future and sends its return value as a message to the application.