mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
/- spider
|
|
/+ *ph-io, *ph-util
|
|
=, strand=strand:spider
|
|
^- thread:spider
|
|
|= vase
|
|
=/ m (strand ,vase)
|
|
;< =bowl:spider bind:m get-bowl
|
|
;< ~ bind:m start-simple
|
|
:: must be a better way to background threads
|
|
|-
|
|
=* loop $
|
|
;< ~ bind:m (sleep ~s5)
|
|
loop
|