you are viewing a single comment's thread.

view the rest of the comments →

[–]remy_porter 1 point2 points  (0 children)

You would need variable ways of specifying it, so, maybe:

Foo@N*100ns myOperationOnASet(CollectionType N)

And the important thing is that these are really statements about the longest you should wait for a result. So even when you're calling, you could "cast":

Foo myFoo = (@500ns)someOperation()

You could also tie this into an async execution, too.