design icon indicating copy to clipboard operation
design copied to clipboard

Introduce an Async based interface

Open wanderer opened this issue 9 years ago • 1 comments

This Introduce a Callback based interface for select interface methods

wanderer avatar Sep 12 '16 20:09 wanderer

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 avatar Sep 12 '16 20:09 wanderer