Wraps any Callback into a safer implementation that protects against grammar violations (e.g.
Wraps any Callback into a safer implementation that
protects against grammar violations (e.g. onSuccess
or onError
must be called at most once). For usage in runAsync
.