(sync-wrapper f & args)
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close