Packages

p

eu.timepit

fs2cron

package fs2cron

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fs2cron
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait TimezoneContext[F[_]] extends AnyRef

Value Members

  1. def awakeEveryCron[F[_]](cronExpr: CronExpr)(implicit arg0: Sync[F], timer: Timer[F], context: TimezoneContext[F]): Stream[F, Unit]

    Creates a discrete stream that emits unit at every date-time from now that matches cronExpr.

  2. def durationFrom[F[_]](from: ZonedDateTime, cronExpr: CronExpr)(implicit F: ApplicativeError[F, Throwable]): Stream[F, FiniteDuration]

    Creates a single element stream of the duration between from and the next date-time that matches cronExpr.

  3. def durationFromNow[F[_]](cronExpr: CronExpr)(implicit arg0: Sync[F], timezoneContext: TimezoneContext[F]): Stream[F, FiniteDuration]

    Creates a single element stream of the duration between the current date-time and the next date-time that matches cronExpr.

  4. def evalNow[F[_]](implicit arg0: Sync[F], timezoneContext: TimezoneContext[F]): Stream[F, ZonedDateTime]

    Creates a single element stream of the current date-time.

  5. def schedule[F[_], A](tasks: List[(CronExpr, Stream[F, A])])(implicit arg0: Concurrent[F], timer: Timer[F], timezoneContext: TimezoneContext[F]): Stream[F, A]
  6. def sleepCron[F[_]](cronExpr: CronExpr)(implicit arg0: Sync[F], timer: Timer[F], timezoneContext: TimezoneContext[F]): Stream[F, Unit]

    Creates a single element stream that waits until the next date-time that matches cronExpr before emitting unit.

  7. object TimezoneContext

Inherited from AnyRef

Inherited from Any

Ungrouped