com.walmartlabs.lacinia.async
added in 0.2.0
Facilities for leveraging core.async with Lacinia.
channel->result
(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.
decorate-channel->result
(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.