Home

missionary.core/never

Usage

A value operator describing a task performing no action and never completing. When never process is cancelled, it crashes with an instance of Cancelled.

Example :

(require '[missionary.core :as m])

;; perform the task
(def ps
  (m/never
    (partial prn :success)
    (partial prn :failure)))

;; cancel the process
(ps)
;; :failure #error

Synchronicity