-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Currently, service callbacks get
- either exactly two arguments: pointer to the request and pointer to the response
- or three arguments: pointer to the request, pointer to the response, and the request id
This is rather limiting, as it does not allow to provide any additional context to the callback. E.g., in case of the lifecycle node: when the state change service is called, I currently don't have the possibility to get the lifecycle node on which the state change was called.
I propose to add a third option, in addition to the two introduced above, where a third void * argument allows passing additional context, e.g., the lifecycle node in the example above.
Metadata
Metadata
Assignees
Labels
No labels