(assert-spec spec)
(cons-interceptor ctx interceptor)
(deep-merge a b)
(default-url protocol path)
(generate-id)
(http-options {:keys [http] :or {http {}}})
(interceptors)
(interceptors spec)
(sync-wrapper f {:keys [timeout] :or {timeout 3000} :as opts})
Wraps the given function to allow the GraphQL result to be returned synchronously. Will return a GraphQL error response if no response is received before the timeout (default 3000ms) expires. Will throw if the call returns an exception.
Wraps the given function to allow the GraphQL result to be returned synchronously. Will return a GraphQL error response if no response is received before the timeout (default 3000ms) expires. Will throw if the call returns an exception.
(ws-options {:keys [ws] :or {ws {}} :as _options})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close