11 lines
168 B
Text
11 lines
168 B
Text
|
# Author: Jonas Bonèr <jonas@jonasboner.com>
|
||
|
# name: def act(arg: T) = { ..}
|
||
|
# key: act
|
||
|
# --
|
||
|
def act(${1:arg}: ${2:type}) = {
|
||
|
loop {
|
||
|
react {
|
||
|
$0
|
||
|
}
|
||
|
}
|
||
|
}
|