Liking cljdoc? Tell your friends :D

com.walmartlabs.lacinia.async

Facilities for leveraging core.async with Lacinia.

Facilities for leveraging core.async with Lacinia.
raw docstring

channel->resultclj

(channel->result ch)

Converts a core.async channel into a Lacinia ResolverResult.

If the channel conveys an exception, that is converted to an error map and delivered (with a nil value).

Otherwise the first value conveyed is delivered.

Converts a core.async channel into a Lacinia ResolverResult.

If the channel conveys an exception, that is converted to an error map and delivered (with a nil value).

Otherwise the first value conveyed is delivered.
raw docstring

decorate-channel->resultclj

(decorate-channel->result field-resolver)

A field resolver decorator that ensures that a field resolver that returns a channel will be wrapped to return a ResolverResult.

A field resolver decorator that ensures that a field resolver that returns a channel will be wrapped
to return a ResolverResult.
raw docstring

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

× close