-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Currently, we need to use the RegisterLocal method to register a reply event, as well as the EventManagerConstants.ReplyPrefix to fill the name of the event. Since this constant is internal and we want to avoid unnecessary duplication we should implement a wrapper method that accepts the name of the event and automatically registers it as a reply callback. An idea for this implementation:
RegisterLocalReply(eventName, callback) {
RegisterLocal(
EventManagerConstants.ReplyPrefix + eventName,
callback
);
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers