Mark the future done and set an exception.
If the future is already done when this method is called, throws $(D_PSYMBOL InvalidStateError).
See Implementation
Mark the future done and set an exception.
If the future is already done when this method is called, throws $(D_PSYMBOL InvalidStateError).