10 lines
188 B
Plaintext
10 lines
188 B
Plaintext
const test_port = 8101
|
|
|
|
pub fn test_new() ! {
|
|
new() or { return error('Failed to create actor:\n@{dollar}{err}') }
|
|
}
|
|
|
|
pub fn test_actor_run() ! {
|
|
mut actor := new()!
|
|
spawn actor.run()
|
|
} |