scheme non blocking client server call is:
@async exposed function do_something_on_server() { protected_server_job(); } client function onclick(_) { do_something_on_server(); } <a onclick={onclick}>do it!</a> this call makes use of single http request:
https://wkaliszu.pl/_internal_/7821004025888768/rpc_call_async/__do_something_on_server_package.name can call client side code make dom update asynchronously? adding @async seems not make difference , still http request similar following:
https://wkaliszu.pl/_internal_/7821004025888768/rpc_return/cl containing void value (empty json object {}).
in case client call returns void not need value, , making asynchronous spare 1 http request.
the @async annotation merely state call executed asynchronously, meaning caller (client) not block , wait result synchronous calls. async annotation can applied functions returning void, still need initial request client server. only, not care result. far know reply request cannot removed, because opa implementation.