(compile-block-message-fn request)
(destination request s)
(dispatch obj)
generate a dispatch function for different event handler (and command handlers) but make them look the same the dispatch is a map of names to async request handler functions
each request handler function can be wrapped in middleware but should ultimately return the request to go down into the status handler
generate a dispatch function for different event handler (and command handlers) but make them look the same the dispatch is a map of names to async request handler functions each request handler function can be wrapped in middleware but should ultimately return the request to go down into the status handler
(eachConfig request js-fun)
params request - js obj js-fun - async (js-obj) => obj
params request - js obj js-fun - async (js-obj) => obj
(from-js f)
(handler dispatch-map)
create a top-level handler function and dispatch using a map of command/eventOperationNames to request handlers written in JavaScript. Set up the middleware as if the request will want to use Slack, but not GitHub. Inject a blockMessage function into the request Object passed to each handler function.
Used in greet-bot-skill,git-repo-config-skill
create a top-level handler function and dispatch using a map of command/eventOperationNames to request handlers written in JavaScript. Set up the middleware as if the request will want to use Slack, but not GitHub. Inject a blockMessage function into the request Object passed to each handler function. Used in greet-bot-skill,git-repo-config-skill
(js-request request)
(scanBranches js-fun)
(to-js f)
(with-check-run-producing-handler &
{:keys [cmd ->args on-success on-failure ext
middleware]})
used in clj-kondo
used in clj-kondo
(withCheckRunSendingLinter obj)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close