I've seen usages of 5sec and 1sec to stand in for Duration instances. Are these constants? Macros? Some sort of method calls on Int? Where is this defined?
See Duration Literals
Login or Signup to reply.
booleanman Sun 12 Feb 2012
I've seen usages of 5sec and 1sec to stand in for Duration instances. Are these constants? Macros? Some sort of method calls on Int? Where is this defined?
KevinKelley Sun 12 Feb 2012
See Duration Literals