public class TaskRunner extends Object implements Runnable, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the main loop, causing run() to exit.
|
TaskRunner |
open() |
void |
run()
Start the main loop, this will block until a call to stop().
|
public void run()
public TaskRunner open() throws Exception
Exceptionpublic void close()
close in interface AutoCloseableCopyright © 2017 Grakn Labs Ltd. All rights reserved.