#1773 How does 5sec Duration work?

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

Login or Signup to reply.