Like Future {..}, but does not construct a future.
Like Future {..}, but does not construct a future.
Attributes
Note
code is rejected if it has type Runnable or Callable because it's probably a mistake: Execute(code) was written when Execute(code.run()) or Execute(code.call()) was intended. In the unlikely case that Execute(code) was desired, add a type ascription: Execute(code: AnyRef).