Function: hashcash-insert-payment-async

hashcash-insert-payment-async is an autoloaded, interactive and byte-compiled function defined in hashcash.el.gz.

Signature

(hashcash-insert-payment-async ARG)

Documentation

Insert X-Payment and X-Hashcash headers with a payment for ARG Only start calculation. Results are inserted when ready.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mail/hashcash.el.gz
;;;###autoload
(defun hashcash-insert-payment-async (arg)
  "Insert X-Payment and X-Hashcash headers with a payment for ARG
Only start calculation.  Results are inserted when ready."
  (interactive "sPay to: ")
  (unless (hashcash-already-paid-p arg)
    (hashcash-generate-payment-async
     (hashcash-payment-to arg)
     (hashcash-payment-required arg)
     (let ((buf (current-buffer)))
       (lambda (process payment)
         (hashcash-insert-payment-async-2 buf process payment))))))