Skip to content
Tommi Reiman edited this page Apr 4, 2017 · 11 revisions

Async

Compojure-api supports the new async ring.

See Async example project.

Async handlers & middleware

  • Endpoints can return either manifold Deferred or core.async ManyToManyChannels.
  • Endpoints and Middleware can be invoked with CPS-style enabling custom async.

Streaming Responses

Adapters

Ring-adapters (for different web-servers) need to support the async ring. Here's a list of adapters supporting that currently:

Should work, need manual bootstrapping:

  • Aleph
  • HttpKit
  • Immutant
Clone this wiki locally