update actor doc and add more actor based tests
This commit is contained in:
9
tests/actor_connection.ce
Normal file
9
tests/actor_connection.ce
Normal file
@@ -0,0 +1,9 @@
|
||||
// Test: $connection reports local for a child actor
|
||||
$start(function(event) {
|
||||
if (event.type == 'greet') {
|
||||
$connection(function(info) {
|
||||
if (info.type != "local") disrupt
|
||||
$stop()
|
||||
}, event.actor, {})
|
||||
}
|
||||
}, 'tests/actor_helper_echo')
|
||||
Reference in New Issue
Block a user