Instead of rxMethod<void> you could do something like rxMethod<{ onSuccess?: () => void; onError?: () => void }>.
In you tapResponse, you could then use onSuccess and onError.
tapResponse({
next: (response) => {
...
onSuccess?.();
},
error: () => {
...
onError?.();
},
})