Files
cell/tests/overling.js
John Alanbrook e86138ec00
Some checks failed
Build and Deploy / build-linux (push) Successful in 1m20s
Build and Deploy / build-windows (CLANG64) (push) Failing after 10m58s
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
multirheading mailboxes fixed
2025-03-11 20:34:39 -05:00

16 lines
332 B
JavaScript

var os = use('os')
$_.start(e => {
switch(e.type) {
case "actor_started":
console.log(json.encode(e))
$_.connection(e => console.log(json.encode(e)), e.actor) // get connection info
$_.send(e.actor, {message: "Hello!"})
$_.couple(e.actor)
$_.stop(e.actor)
}
}, "tests/underling.js");