Source

core hello world / workshop / part_II.org

Diff from to

File workshop/part_II.org

  - Synchronous reasoning
  - Ability to sequence operations
  - Still cooperative (so one thread can block the world)
-* A basic example
+* Basic types
+** Execution model
+** Deferred
+** Monitor
+** Pipe
+* Simple Examples
+ - interactive
+ - [[file:async/manifest.ml][file:async/manifest.ml]]
+ - file:async/pipe_manifest.ml
+* Exercises: Async count_lines
+ - Convert count_lines to use Async
+ - Make sure to use =Command.async_basic= instead of =Command.basic=
+* Code walkthrough: Client/Server Hello World
+** Exercise
+ - Add a new RPC for requesting the time of day (using Time.now).
+* Code walkthrough: Message Broker