EffectUnitOps

final implicit
class EffectUnitOps[F[_]](self: F[Unit]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def runAsync(errorMsg: String)(implicit F: MonadError[F, Throwable], dispatcher: Dispatch[F], logger: Logger[F]): CallbackTo[Unit]

Return a DefaultS[Unit] that will run the effect F[Unit] asynchronously and log possible errors.

Return a DefaultS[Unit] that will run the effect F[Unit] asynchronously and log possible errors.

def runAsync(implicit F: MonadError[F, Throwable], dispatcher: Dispatch[F], logger: Logger[F]): CallbackTo[Unit]
def runAsyncAndThen(cb: CallbackTo[Unit], errorMsg: String)(implicit F: Sync[F], dispatcherF: Dispatch[F], logger: Logger[F], dispatchS: UnsafeSync[Sync]): CallbackTo[Unit]

Return a DefaultS[Unit] that will run the effect F[Unit] asynchronously and log possible errors.

Return a DefaultS[Unit] that will run the effect F[Unit] asynchronously and log possible errors.

Value Params
cb

DefaultS[Unit] to run in case of success.

def runAsyncAndThenF(cb: F[Unit], errorMsg: String)(implicit F: MonadError[F, Throwable], dispatcher: Dispatch[F], logger: Logger[F]): CallbackTo[Unit]

Return a DefaultS[Unit] that will run the effect F[Unit] asynchronously and log possible errors.

Return a DefaultS[Unit] that will run the effect F[Unit] asynchronously and log possible errors.

Value Params
cb

F[Unit] to run in case of success.