Useful extension methods for Callback.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Given a Callback wraps it into an implementation that
calls onSuccess and onError asynchronously, using the
given ExecutionContext.
      
    
      
      
    
      Creates an empty Callback, a callback that doesn't do
anything in onNext and that logs errors in onError with
the provided monix.execution.UncaughtExceptionReporter.
      
    
      
      
    
      
      
    
      
      
    
      Returns a Callback instance that will complete the given promise.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      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.