FutureTask.set

Sets the result of this future to the given value unless this future has already been set or has been cancelled.

<p>This method is invoked internally by the {@link #run} method upon successful completion of the computation.

@param v the value

  1. void set()
    class FutureTask(V)
    protected
    static if(is(V == void))
    void
    set
    ()
  2. void set(V v)

Meta