public enum V8AwaitMode extends java.lang.Enum<V8AwaitMode>
Enum Constant and Description |
---|
RunNoWait
RunNoWait tells Javet to trigger the task queue execution but do not wait.
|
RunOnce
RunOnce tells Javet to drain the tasks once and return.
|
RunTillNoMoreTasks
RunTillNoMoreTasks tells Javet to keep waiting till there are no more tasks.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets id.
|
static V8AwaitMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static V8AwaitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V8AwaitMode RunNoWait
public static final V8AwaitMode RunOnce
public static final V8AwaitMode RunTillNoMoreTasks
public static V8AwaitMode[] values()
for (V8AwaitMode c : V8AwaitMode.values()) System.out.println(c);
public static V8AwaitMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()