summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/pages/1 - Cask: a Scala HTTP micro-framework.md4
-rw-r--r--docs/pages/4 - Cask Actors.md8
-rw-r--r--readme.md5
3 files changed, 11 insertions, 6 deletions
diff --git a/docs/pages/1 - Cask: a Scala HTTP micro-framework.md b/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
index 2e191d3..7fcbd88 100644
--- a/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
+++ b/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
@@ -81,10 +81,10 @@ via the following coordinates:
```scala
// Mill
-ivy"com.lihaoyi::cask:0.2.9"
+ivy"com.lihaoyi::cask:0.3.3"
// SBT
-"com.lihaoyi" %% "cask" % "0.2.9"
+"com.lihaoyi" %% "cask" % "0.3.3"
```
The `./mill` command is just a wrapper around the
diff --git a/docs/pages/4 - Cask Actors.md b/docs/pages/4 - Cask Actors.md
index abf2b90..fdff1dd 100644
--- a/docs/pages/4 - Cask Actors.md
+++ b/docs/pages/4 - Cask Actors.md
@@ -7,10 +7,10 @@ standalone `cask-actor` artifact:
```scala
// Mill
-ivy"com.lihaoyi::cask-actor:0.2.9"
+ivy"com.lihaoyi::cask-actor:0.3.3"
// SBT
-"com.lihaoyi" %% "cask-actor" % "0.2.9"
+"com.lihaoyi" %% "cask-actor" % "0.3.3"
```
Cask Actors are much more lightweight solution than a full-fledged framework
@@ -18,7 +18,7 @@ like Akka: Cask Actors do not support any sort of distribution or clustering,
and run entirely within a single process. Cask Actors are garbage collectible,
and you do not need to manually terminate them or manage their lifecycle.
-## A Logger Actor
+## Example: Asynchronous Logging using an Actor
Here is a small demonstration of using a `cask.actor.SimpleActor` to perform
asynchronous logging to disk:
@@ -141,7 +141,7 @@ Using Cask Actors to perform logging avoids both these issues: calls to
`logger.send` happen in the background without slowing down your main program,
and multiple threads can call `logger.send` without being blocked by each other.
-## Actor Pipelines
+## Parallelism using Actor Pipelines
Another advantage of Actors is that you can get pipelined parallelism when
processing data. In the following example, we define two actor classes `Writer`
diff --git a/readme.md b/readme.md
index 7f5765c..438b833 100644
--- a/readme.md
+++ b/readme.md
@@ -38,6 +38,11 @@ courtesy of EJ Technologies
## Changelog
+### 0.3.3
+
+- Separate `cask-actor` into a separate artifact, documented separately as
+ [Cask Actors](http://www.lihaoyi.com/cask/page/cask-actors.html)
+
### 0.3.2
- Support for Scala 2.13.1