design
design copied to clipboard
Introduce an Async based interface
This Introduce a Callback based interface for select interface methods
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.