Liking cljdoc? Tell your friends :D

promesa.exec.bulkhead

Bulkhead pattern: limiter of concurrent executions.

Bulkhead pattern: limiter of concurrent executions.
raw docstring

promesa.exec.csp

A core.async analogous implementation of channels that uses promises instead of callbacks for all operations and are intended to be used as-is (using blocking operations) in go-blocks backed by virtual threads.

There are no macro transformations, go blocks are just alias for the promesa.core/vthread macro that launches an virtual thread.

This code is based on the same ideas as core.async but the implementation is written from scratch, for make it more simplier (and smaller, because it does not intend to solve all the corner cases that core.async does right now).

This code is implemented in CLJS for make available the channel abstraction to the CLJS, but the main use case for this ns is targeted to the JVM, where you will be able to take advantage of virtual threads and seamless blocking operations on channels.

EXPERIMENTAL API

A core.async analogous implementation of channels that uses promises
instead of callbacks for all operations and are intended to be used
as-is (using blocking operations) in go-blocks backed by virtual
threads.

There are no macro transformations, go blocks are just alias for the
`promesa.core/vthread` macro that launches an virtual thread.

This code is based on the same ideas as core.async but the
implementation is written from scratch, for make it more
simplier (and smaller, because it does not intend to solve all the
corner cases that core.async does right now).

This code is implemented in CLJS for make available the channel
abstraction to the CLJS, but the main use case for this ns is
targeted to the JVM, where you will be able to take advantage of
virtual threads and seamless blocking operations on channels.

**EXPERIMENTAL API**
raw docstring

promesa.exec.semaphore

Concurrency limiter: Semaphore

Concurrency limiter: Semaphore
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close