• Stars
    star
    1,933
  • Rank 23,044 (Top 0.5 %)
  • Language
    Clojure
  • License
    Eclipse Public Li...
  • Created almost 11 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Facilities for async programming and communication in Clojure

core.async

A Clojure library providing facilities for async programming and communication.

Releases and Dependency Information

This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.

Latest release: 1.6.681

deps.edn dependency information:

  org.clojure/core.async {:mvn/version "1.6.681"}

Leiningen dependency information:

 [org.clojure/core.async "1.6.681"]

Maven dependency information:

<dependency>
  <groupId>org.clojure</groupId>
  <artifactId>core.async</artifactId>
  <version>1.6.681</version>
</dependency>

Documentation

Presentations

Contributing

Contributing to Clojure projects requires a signed Contributor Agreement. Pull requests and GitHub issues are not accepted; please use the core.async JIRA project to report problems or enhancements.

CLJS Tests

To run the ClojureScript tests:

  • lein cljsbuild once
  • open script/runtests.html
  • View JavaScript console for test results

License

Copyright © 2017-2023 Rich Hickey and contributors

Distributed under the Eclipse Public License, the same as Clojure.

Changelog

  • Release 1.6.681 on 2023.08.09
    • Revert ASYNC-248 (CLJ) due to the issues in ASYNC-249
    • Update to tools.analyzer.jvm 1.2.3
  • Release 1.6.673 on 2022.10.27
    • ASYNC-248 (CLJ) Dynamically load ioc analyzer only when needed
    • Perf improvements in go macro compilation
    • Note: as of this version, core.async requires Clojure 1.10
  • Release 1.5.648 on 2021.12.14
    • Update dep for tools.analyzer.jvm to 1.2.2
  • Release 1.5.644 on 2021.12.06
    • Update dep for tools.analyzer.jvm to 1.2.1
  • Release 1.5.640 on 2021.11.23
    • ASYNC-204 (both) On put to closed channel, commit handler to allow pending alt ops to be cleaned up
    • ASYNC-235 (both) Fix ioc-macros/return-chan registers a callback with incorrect arity
    • ASYNC-144 (both) Tweak docstring in pipeline-async
    • ASYNC-238 (both) Fix a/map with empty chan vector hangs
  • Release 1.4.627 on 2021.11.03
    • ASYNC-132 (CLJS) Can't close over locals in #js in go)
    • ASYNC-117 (CLJS) let-bindings unavailable in #js literals in go-blocks
    • Update dep for tools.analyzer.jvm to 1.2.0
  • Release 1.3.618 on 2021.04.26
    • ASYNC-237 (CLJS) timeout timers access array elements with out-of-bounds index
  • Release 1.3.610 on 2020.07.24
    • Update dep for tools.analyzer.jvm to 1.1.0
  • Release 1.2.603 on 2020.05.11
    • Fix bug in cljs impl of onto-chan! in 1.2.598
  • Release 1.2.598 on 2020.05.11
    • Add onto-chan! and to-chan! to cljs core.async
  • Release 1.2.593 on 2020.05.11
    • onto-chan use of go-loop incompatible with blocking colls, replace with onto-chan! and onto-chan!!
  • Release 1.1.587 on 2020.04.01
    • Added :require-macros for the promise interop from 1.1.582
  • Release 1.1.582 on 2020.03.31
    • Bumped deps - clojure 1.9, clojurescript 1.10.1.597, cljsbuild 1.1.7, tools.analyzer.jvm 1.0.0
    • ASYNC-165 (CLJS) Fix inlining of let binding
    • ASYNC-184 (CLJS) Port CLJ exception handling fixes
    • ASYNC-228 (CLJS) Fix skip list for CLJS timers
    • ASYNC-96 (CLJS) Fix full checking in fixed buffer
    • ASYNC-230 (CLJS) Add js/Promise interop via core.async.interop
  • Release 1.0.567 on 2020.02.18
  • Release 0.7.559 on 2020.01.10
    • ASYNC-198 (CLJ) Fix exception rewriting in go can replace return value
    • ASYNC-220 (CLJ) Fix exception in go finally swallows exception of outer try
    • ASYNC-229 (CLJ) Fix go finally block executed twice
    • ASYNC-212 (CLJ) Fix go fails to compile expressions with literal nil as let value
    • ASYNC-145 (CLJ, CLJS) Fix mix throws error when many channels added
    • ASYNC-170 (CLJ) Fix binding in go block throws assertion error
    • ASYNC-127 (CLJ, CLJS) Fix mult to work as doc'ed with all taps accepting before next
    • ASYNC-210 (CLJ) Fix puts allowed when buffer still full from expanding transducer
  • Release 0.6.532 on 2019.12.02
    • Bump tools.analyzer.jvm dep to 0.7.3
  • Release 0.5.527 on 2019.11.12
    • Add system property clojure.core.async.go-checking that will throw if core.async blocking ops (>!!, <!!, alts!!, alt!!) are used in a go block
    • Fix use of blocking op and thread constraints in pipeline - will now match pipeline-blocking in using N cached threads.
  • Release 0.4.500 on 2019.06.11
  • Release 0.4.490 on 2018.11.19
  • Release 0.4.474 on 2018.01.08
    • Fix typo in error message
    • Remove Java code, depend on Java 1.7+
    • Add deps.edn, can now be used as a git dependency
  • Release 0.3.465 on 2017.11.17
    • ASYNC-119 Move macros to cljs.core.async ns (CLJS)
    • ASYNC-201 Out-of-bounds index values passed in timers (CLJS)
  • Release 0.3.443 on 2017.05.26
    • ASYNC-159 - promise-chan in ClojureScript is broken
  • Release 0.3.442 on 2017.03.14
    • Fix bad :refer-clojure clause that violates new spec in Clojure 1.9.0-alpha15
  • Release 0.3.441 on 2017.02.23
    • ASYNC-187 - Tag metadata is lost in local closed over by a loop
    • ASYNC-185 - thread prevents clearing of body locals
    • ASYNC-186 - NPE when go closes over a local variable bound to nil
  • Release 0.3.426 on 2017.02.22
  • Release 0.2.395 on 2016.10.12
    • Add async version of transduce
  • Release 0.2.391 on 2016.09.09
    • Fix redefinition warning for bounded-count (added in Clojure 1.9)
    • Add :deprecated meta to the deprecated functions
  • Release 0.2.385 on 2016.06.17
    • Updated tools.analyzer.jvm version
  • Release 0.2.382 on 2016.06.13
    • Important: Change default dispatch thread pool size to 8.
    • Add Java system property clojure.core.async.pool-size to set the dispatch thread pool size
    • ASYNC-152 - disable t.a.jvm's warn-on-reflection pass
  • Release 0.2.374 on 2015.11.11
    • ASYNC-149 - fix error compiling recur inside case in a go block
    • Updated tools.analyzer.jvm version (and other upstream deps)
    • Updated to latest clojurescript and cljsbuild versions
  • Release 0.2.371 on 2015.10.28
    • ASYNC-124 - dispatch multiple pending takers from expanding transducer
    • ASYNC-103 - NEW promise-chan
    • ASYNC-104 - NEW non-blocking offer!, poll!
    • ASYNC-101 - async/reduce now respects reduced
    • ASYNC-112 - replace "transformer" with "transducer" in deprecation messages
    • ASYNC-6 - alts! docs updated to explicitly state ports is a vector
    • Support (try (catch :default)) in CLJS exception handling
    • Use cljs.test
    • Updated tools.analyzer.jvm version (and other upstream deps)
  • Release 0.1.346.0-17112a-alpha on 2014.09.22
    • cljs nextTick relies on goog.async.nextTick
    • Updated docstring for put! re result on closed channel
  • Release 0.1.338.0-5c5012-alpha on 2014.08.19
    • Add cljs transducers support
  • Release 0.1.319.0-6b1aca-alpha on 2014.08.06
    • Add transducers support
    • NEW pipeline
  • Release 0.1.303.0-886421-alpha on 2014.05.08
  • Release 0.1.301.0-deb34a-alpha on 2014.04.29
  • Release 0.1.298.0-2a82a1-alpha on 2014.04.25
  • Release 0.1.278.0-76b25b-alpha on 2014.02.07
  • Release 0.1.267.0-0d7780-alpha on 2013.12.11
  • Release 0.1.262.0-151b23-alpha on 2013.12.10
  • Release 0.1.256.0-1bf8cf-alpha on 2013.11.07
  • Release 0.1.242.0-44b1e3-alpha on 2013.09.27
  • Release 0.1.222.0-83d0c2-alpha on 2013.09.12

More Repositories

1

clojure

The Clojure programming language
Java
10,259
star
2

clojurescript

Clojure to JS compiler
Clojure
9,164
star
3

clojure-clr

A port of Clojure to the CLR, part of the Clojure project
C#
1,531
star
4

core.logic

A logic programming library for Clojure & ClojureScript
Clojure
1,430
star
5

core.typed

An optional type system for Clojure
Clojure
1,280
star
6

core.match

An optimized pattern matching library for Clojure
Clojure
1,170
star
7

test.check

QuickCheck for Clojure
Clojure
1,109
star
8

java.jdbc

JDBC from Clojure (formerly clojure.contrib.sql)
Clojure
713
star
9

tools.cli

Command-line processing
Clojure
701
star
10

tools.nrepl

A Clojure network REPL that provides a server and client, along with some common APIs of use to IDEs and other tools that may need to evaluate Clojure code in remote environments.
Clojure
661
star
11

tools.namespace

Tools for managing namespaces in Clojure
Clojure
593
star
12

data.json

JSON in Clojure
Clojure
531
star
13

algo.monads

Macros for defining monads, and definition of the most common monads
Clojure
442
star
14

tools.deps.alpha

A functional API for transitive dependency graph expansion and the creation of classpaths
Clojure
435
star
15

core.cache

A caching library for Clojure implementing various cache strategies
Clojure
433
star
16

tools.logging

Clojure logging API
Clojure
380
star
17

tools.trace

1.3 update of clojure.contrib.trace
Clojure
355
star
18

math.combinatorics

Efficient, functional algorithms for generating lazy sequences for common combinatorial functions
Clojure
343
star
19

spec-alpha2

Clojure library to describe the structure of data and functions
Clojure
296
star
20

data.csv

CSV reader/writer to/from Clojure data structures
Clojure
266
star
21

core.memoize

A manipulable, pluggable, memoization framework for Clojure
Clojure
260
star
22

tools.analyzer

An analyzer for Clojure code, written in Clojure and producing AST in EDN
Clojure
255
star
23

clojure-site

clojure.org site
HTML
244
star
24

data.xml

Clojure
219
star
25

data.finger-tree

Finger Tree data structure
Clojure
213
star
26

spec.alpha

Clojure library to describe the structure of data and functions
Clojure
211
star
27

tools.reader

Clojure reader in Clojure
Clojure
203
star
28

tools.build

Clojure builds as Clojure programs
Clojure
193
star
29

core.rrb-vector

RRB-Trees in Clojure
Clojure
190
star
30

data.priority-map

Clojure priority map data structure
Clojure
186
star
31

math.numeric-tower

Math functions that deal intelligently with the various types in Clojure's numeric tower
Clojure
176
star
32

test.generative

Generative test runner
Clojure
161
star
33

core.unify

Unification library
Clojure
136
star
34

core.contracts

Contracts programming
Clojure
128
star
35

data.fressian

Read and write Fressian data from Clojure
Clojure
126
star
36

data.avl

Persistent sorted maps and sets with log-time rank queries
Clojure
124
star
37

data.int-map

A map optimized for integer keys
Java
124
star
38

core.incubator

Proving ground for proposed new core fns
Clojure
116
star
39

tools.macro

Utilities for macro writers
Clojure
114
star
40

java.data

Functions for recursively converting Java beans to Clojure and vice versa
Clojure
113
star
41

tools.analyzer.jvm

Additional jvm-specific passes for tools.analyzer
Clojure
112
star
42

clojurescript-site

website for ClojureScript
Shell
106
star
43

tools.deps.graph

Dependency graphs for deps.edn projects
Clojure
102
star
44

java.jmx

Produce and consume JMX beans from Clojure
Clojure
93
star
45

algo.generic

Generic versions of commonly used functions, implemented as multimethods that can be implemented for any data type
Clojure
92
star
46

tools.emitter.jvm

A JVM bytecode generator for ASTs compatible with tools.analyzer(.jvm)
Clojure
87
star
47

data.generators

Random data generators
Clojure
85
star
48

data.zip

Utilities for clojure.zip
Clojure
82
star
49

brew-install

Clojure CLI installer
Shell
78
star
50

data.codec

Native codec implementations
Clojure
74
star
51

tools.gitlibs

API for retrieving, caching, and programatically accessing git libraries
Clojure
59
star
52

java.classpath

Examine the Java classpath from Clojure programs
Clojure
58
star
53

jvm.tools.analyzer

Clojure
53
star
54

core.specs.alpha

specs to describe Clojure core macros and functions
Clojure
46
star
55

tools.tools

Clojure CLI tool for managing Clojure CLI tools
Clojure
41
star
56

homebrew-tools

Clojure homebrew tap providing Clojure formulae
Ruby
40
star
57

test.benchmark

Benchmark and Regression Suite for Clojure
Roff
37
star
58

data.alpha.replicant-server

A Clojure library providing remote implementations of the Clojure data structures and a remote REPL server.
Clojure
35
star
59

clr.tools.nrepl

Clojure
26
star
60

build.ci

Support scripts for continuous integration
Clojure
23
star
61

tools.analyzer.js

Provides js-specific passes for tools.analyzer
Clojure
21
star
62

clojure-install

Java
16
star
63

algo.graph

Basic graph theory algorithms
Clojure
15
star
64

data.alpha.replicant-client

A Clojure library providing client-side implementations of Clojure datastructures served by replicant-server.
Clojure
11
star
65

clojure.github.com

Documentation repos
HTML
8
star
66

build.poms

Parent POMs
8
star
67

core.typed.analyzer.jvm

Clojure
7
star
68

clr.tools.namespace

Clojure
7
star
69

core.typed.runtime.jvm

Clojure
7
star
70

clr.data.json

JSON in Clojure on the CLR
Clojure
6
star
71

clr.tools.reader

Clojure
5
star
72

clr.test.generative

Clojure
5
star
73

clojure-api-doc

Clojure API doc build
Clojure
5
star
74

contrib-api-doc

Clojure contrib API doc build
Clojure
5
star
75

core.typed.annotator.jvm

Clojure
5
star
76

core.typed.checker.jvm

Clojure
4
star
77

core.typed.checker.js

Clojure
4
star
78

io.incubator

Proving ground for proposed new io fns
4
star
79

clr.data.generators

Random data generators for Clojure on the CLR
Clojure
4
star
80

clr.core.async

Port of Clojure core.async to the CLR
Clojure
3
star
81

clr.spec.alpha

spec on the CLR
Clojure
3
star
82

clr.tools.analyzer

Clojure
3
star
83

test.regression

Regression tests for Clojure
Clojure
3
star
84

tools.deps.cli

Deps functions
Clojure
2
star
85

clr.core.specs.alpha

core specs on CLR
HTML
2
star
86

clr.tools.gitlibs

An API for retrieving, caching, and programatically accessing git libraries
HTML
2
star
87

java.internal.invoke

2
star
88

clr.core.logic

Clojure
2
star
89

clr.tools.trace

1
star
90

clr.data.priority-map

ClojureCLR port of data.priority-map
Clojure
1
star
91

cljs.tools.closure

ClojureScript build of Google Closure
Shell
1
star
92

tools.analyzer.clr

additional clr-specific passes for tools.analyzer
Clojure
1
star
93

clr.test.check

Clojure
1
star
94

clr.core.cache

ClojureCLR port of core.cache
Clojure
1
star
95

clr.tools.logging

1
star
96

build.test

Dummy project for testing contrib build and deploy
Clojure
1
star
97

clr.core.memoize

ClojureCLR port of core.memoize
Clojure
1
star