Add note [skip ci]
This commit is contained in:
parent
8506c30507
commit
f8657cd59f
1 changed files with 2 additions and 0 deletions
|
|
@ -516,6 +516,8 @@
|
||||||
c))
|
c))
|
||||||
m (assoc m :public-class
|
m (assoc m :public-class
|
||||||
(fn [v]
|
(fn [v]
|
||||||
|
;; NOTE: a series of instance check, so far, is still cheaper
|
||||||
|
;; than piggybacking on defmulti or defprotocol
|
||||||
(cond (instance? java.lang.Process v)
|
(cond (instance? java.lang.Process v)
|
||||||
java.lang.Process
|
java.lang.Process
|
||||||
(instance? java.lang.ProcessHandle v)
|
(instance? java.lang.ProcessHandle v)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue