update actor doc and add more actor based tests
This commit is contained in:
5
tests/actor_helper_echo.ce
Normal file
5
tests/actor_helper_echo.ce
Normal file
@@ -0,0 +1,5 @@
|
||||
// Helper actor that echoes messages back with {pong: true}
|
||||
$receiver(function(msg) {
|
||||
send(msg, {pong: true})
|
||||
})
|
||||
var _t = $delay($stop, 5)
|
||||
Reference in New Issue
Block a user