onTime

timer

value

as: |onTime|

actions

  • [Float] onTime([Float])

Examples

onTime( onTime:{
    println("after 10 sec");
    return 10f;
});