This namespace helper macros for type checking core.async code.
Annotations are (automatically) provided by typed.ann.clojure.core.async, however all type aliases are qualified under typed.lib.clojure.core.async, so users should only depend on this namespace.
chan use chan
buffer use buffer (similar for other buffer constructors)
This namespace helper macros for type checking core.async code. Annotations are (automatically) provided by typed.ann.clojure.core.async, however all type aliases are qualified under typed.lib.clojure.core.async, so users should only depend on this namespace. chan use chan buffer use buffer (similar for other buffer constructors)
(buffer & args)
Like buffer but with optional type annotations.
(buffer :- t ...) creates a buffer that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/buffer.
Like buffer but with optional type annotations. (buffer :- t ...) creates a buffer that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/buffer.
(chan & args)
Like chan but with optional type annotations.
(chan :- t ...) creates a channel that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/chan.
Like chan but with optional type annotations. (chan :- t ...) creates a channel that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/chan.
(dropping-buffer & args)
Like dropping-buffer but with optional type annotations.
(dropping-buffer :- t ...) creates a dropping buffer that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/dropping-buffer.
Note: (dropping-buffer :- t ...) is the same as (t/ann-form (dropping-buffer ...) (Buffer t))
Like dropping-buffer but with optional type annotations. (dropping-buffer :- t ...) creates a dropping buffer that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/dropping-buffer. Note: (dropping-buffer :- t ...) is the same as (t/ann-form (dropping-buffer ...) (Buffer t))
(sliding-buffer & args)
Like sliding-buffer but with optional type annotations.
(sliding-buffer :- t ...) creates a sliding buffer that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/sliding-buffer.
Like sliding-buffer but with optional type annotations. (sliding-buffer :- t ...) creates a sliding buffer that can read and write type t. Subsequent arguments are passed directly to clojure.core.async/sliding-buffer.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close