============
Scala and Scala.js framework to execute and schedule asynchronous tasks
async is published to Sonatype OSS and Maven Central supporting Scala and Scala.js on 2.11 and 2.12.
Configuring the dependency in SBT is as follows:
libraryDependencies += "com.outr" %% "async" % "1.0.0"
or for Scala.js:
libraryDependencies += "com.outr" %%% "async" % "1.0.0"
The goal of this framework is to provide a very simple abstraction for scheduled tasks in a consistent way between Scala
and Scala.js. We currently rely on Akka's Scheduler
on the JVM and JavaScript's window.setInterval
on JS.
Async is intended to be a minimalistic framework. As such, all the functionality you'll need access to is easily available in one import:
import com.outr.async._
TODO: Write
- Basic Scheduling of Tasks
- Easy access to one-time scheduling
- Convenience functionality to schedule for a specific time daily
- Convenience functionality to schedule for a specific date and time
- Workflow system
- Complete code coverage
- Fully documented