This commit is contained in:
Michiel Borkent 2020-03-01 17:43:10 +01:00
parent 6fe7972952
commit fc3a229c65

View file

@ -606,7 +606,7 @@ Also see this [example](examples/process_builder.clj).
## Async ## Async
Apart from `future` and `pmap` for creating threads, you may use the Apart from `future` and `pmap` for creating threads, you may use the
`clojure.core.async` namespace, aliases as `async`, for asynchronous `clojure.core.async` namespace for asynchronous
scripting. The following example shows how to get first available value from two scripting. The following example shows how to get first available value from two
different processes: different processes:
@ -623,8 +623,8 @@ process 2
Note: the `go` macro is available for compatibility with JVM programs, but the Note: the `go` macro is available for compatibility with JVM programs, but the
implementation maps to `clojure.core.async/thread` and the single exclamation implementation maps to `clojure.core.async/thread` and the single exclamation
mark operations (`<!`, `>!`, etc.) map to with the double exclamation mark mark operations (`<!`, `>!`, etc.) map to the double exclamation mark operations
operations (`<!!`, `>!!`, etc.). It will not `park` threads, like on the JVM. (`<!!`, `>!!`, etc.). It will not `park` threads, like on the JVM.
## HTTP ## HTTP