update actor doc and add more actor based tests

This commit is contained in:
2026-02-17 11:50:46 -06:00
parent 2d054fcf21
commit 2be2b15a61
21 changed files with 268 additions and 51 deletions

View File

@@ -0,0 +1,9 @@
// Test: send with reply callback
$start(function(event) {
if (event.type == 'greet') {
send(event.actor, {ping: true}, function(reply) {
if (!reply.pong) disrupt
$stop()
})
}
}, 'tests/actor_helper_echo')