-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: async API when
Response
has been processed. (#1281)
* feat: add `RpcModule::register_raw_method` * add proc macro support * rename API * simplify API with MethodResponse::notify_when_sent * improve notify API * fix nits * introduce ResponsePayloadV2 * impl ResponsePayloadV2 for T * cleanup * client: proc macro support for custom ret_ty * add tests * address grumbles * remove unused code * fix tests * proc: revert unrelated changes * remove panics; move should be enough * bring back UI tests * grumbles: remove NotifiedError * break stuff for uniform API * make more stuff private * remove ResponseErrorUnit type alias * fix ui tests * Update proc-macros/src/render_server.rs * Rename ws_notify_on_method_answered.rs to response_payload_notify_on_response.rs * remove unit_error APIs * replace notify_on_x with notify_on_completion * Update server/src/transport/ws.rs
- Loading branch information
Showing
22 changed files
with
971 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.