Toybox.Lang.Method has this example:
using Toybox.Timer;
var myCount = 0;
function timerCallback() {
myCount += 1;
}
myTimer = new Timer.Timer();
myTimer.start(method(:timerCallback), 1000, true);
It's missing a 'var' on myTimer, and method is a method on Object, so its not clear what was intended here.