fix actor working
This commit is contained in:
@@ -1,7 +1,2 @@
|
||||
$receiver(e => {
|
||||
log.console(`Got a message: ${e}`)
|
||||
|
||||
send(e, {
|
||||
message: "Good to go."
|
||||
})
|
||||
})
|
||||
// tests/reply_actor.ce - Simple child that just logs
|
||||
log.console("reply_actor: alive!")
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
return {
|
||||
test_send: function() {
|
||||
$start(e => {
|
||||
send(e.actor, { message: "Hello! Good to go?" }, msg => {
|
||||
log.console(`Original sender got message back: ${msg}. Stopping!`)
|
||||
// $stop() // Removed
|
||||
})
|
||||
}, "tests/reply_actor")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user