Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce an Async based interface #48

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

wanderer
Copy link
Member

This Introduce a Callback based interface for select interface methods

@wanderer
Copy link
Member Author

wanderer commented Sep 12, 2016

The callback interface allows for implementation to efficiently deal with high latency calls. We are assuming that any method that interacts with the state trie outside of the local environment could be subject to high latency for light clients and post-sharded clients

The callbacks functions provided at easy way to suspend and revive the wasm processes since only the memory need to be copied to and from long term storage.

@wanderer wanderer self-assigned this Oct 4, 2016
@wanderer wanderer changed the title Introduce a Callback based interface Introduce an Async based interface Nov 3, 2016
@cdetrio cdetrio mentioned this pull request Dec 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants