mirror of
https://github.com/rabbibotton/clog.git
synced 2026-01-04 08:12:01 -08:00
Update documentation for run as an on-close event
This commit is contained in:
parent
02e6d029d0
commit
604c3e68d7
1 changed files with 5 additions and 2 deletions
|
|
@ -46,8 +46,11 @@
|
||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
|
|
||||||
(defgeneric run (clog-body)
|
(defgeneric run (clog-body)
|
||||||
(:documentation "Keeps a connection thread alive to allow post
|
(:documentation "Keeps the original connection thread alive to allow post
|
||||||
user close of connection / browser."))
|
user close of connection / browser. Run returns when the browser
|
||||||
|
connection has been severed, acting like an on-close event, only lisp objects
|
||||||
|
still exist at this point and no queries can be made to browser or
|
||||||
|
DOM elements."))
|
||||||
(defmethod run ((obj clog-body))
|
(defmethod run ((obj clog-body))
|
||||||
(loop
|
(loop
|
||||||
(if (validp obj)
|
(if (validp obj)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue