Skip to content

Send event from server to client #1917

Closed Answered by chesterxgchen
rbagan asked this question in Q&A
Discussion options

You must be logged in to vote

There are probably multiple-ways to achieve the goal, not necessary via the sever to client event.

  1. define a workflow, you can write controller to define a workflow to do the task you like to do. You can send or broadcast the task to client(s), client receive and handle the tasks. This new workflow can be added to before or after the existing workflows

  2. If above doesn't fit your needs, you can leverage use send Aux message ( 2.3.x or before), which directly send the target audiences (client or server). split learning example used this approach. Aux channel API will be hidden to use after 2.4.x as 2.4.0 will provide more higher level abstraction to achieve the same goal

  3. what about usin…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rbagan
Comment options

Answer selected by rbagan
Comment options

You must be logged in to vote
1 reply
@chesterxgchen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants