Enable custom actions to be specified corresponding to return values of callback events, so that the state of the remote Task can be reflected in the local one.