Function runUntilDone

Runs a completable actor to completion (or timeout) and fulfills with its output (if any).

The actor Actor['logic']

The actor output

The actor reference

An existing Actor

Promise fulfilling with the actor output