// retoor <retoor@molodetz.nl>
|
|
|
|
import "scheduler" for Scheduler, Future
|
|
|
|
var add = async { |a, b| a + b }
|
|
|
|
System.print(await add(3, 4)) // expect: 7
|
// retoor <retoor@molodetz.nl>
|
|
|
|
import "scheduler" for Scheduler, Future
|
|
|
|
var add = async { |a, b| a + b }
|
|
|
|
System.print(await add(3, 4)) // expect: 7
|