Files
cell/tests/overling.js
John Alanbrook 291fd9ead0
Some checks failed
Build and Deploy / package-dist (push) Blocked by required conditions
Build and Deploy / deploy-itch (push) Blocked by required conditions
Build and Deploy / deploy-gitea (push) Blocked by required conditions
Build and Deploy / build-linux (push) Successful in 1m16s
Build and Deploy / build-windows (CLANG64) (push) Failing after 10m57s
hide actor data
2025-03-12 23:09:43 -05:00

17 lines
353 B
JavaScript

var os = use('os')
console.log("START")
$_.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");