|
handle(command: TCommand, register: Register): Promise<void> |
There is a common scenario:
a user creates a chat room, then the user can enter the chat room immediately and subscribe it. But the command handler doesn't return anything useful, how Booster achieve the UX? IMHO, the frontend doesn't need to know to generate the entity id. Thank you.
booster/packages/framework-types/src/concepts/command.ts
Line 10 in cfea264
There is a common scenario:
a user creates a chat room, then the user can enter the chat room immediately and subscribe it. But the command handler doesn't return anything useful, how Booster achieve the UX? IMHO, the frontend doesn't need to know to generate the entity id. Thank you.