(request-async client-atom req subs-chan sse-pub resp-chan)
Subscribe to sse-pub
, invoke async client request and deliver responses in resp-chan.
This function uses salt.client.request/request
to call async client.
Channel will deliver:
This function implements best practices for working with salt-api as defined in https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html#best-practices If SSE reconnect occurs during the call, jobs.print_job is used to retrieve the state of job.
Channel is closed after all minions return.
Request will be merged with client default-http-request.
See salt.client/client
for more details.
Subscribe to `sse-pub`, invoke async client request and deliver responses in resp-chan. This function uses [[salt.client.request/request]] to call async client. Channel will deliver: - Exception if error occurs - Parsed SSE events This function implements best practices for working with salt-api as defined in https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html#best-practices If SSE reconnect occurs during the call, jobs.print_job is used to retrieve the state of job. Channel is closed after all minions return. Request will be merged with client default-http-request. See [[salt.client/client]] for more details.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close