public static enum JSFunction.GeneratorState extends Enum<JSFunction.GeneratorState>
Enum Constant and Description |
---|
Completed |
Executing |
SuspendedStart |
SuspendedYield |
Modifier and Type | Method and Description |
---|---|
static JSFunction.GeneratorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSFunction.GeneratorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSFunction.GeneratorState SuspendedStart
public static final JSFunction.GeneratorState SuspendedYield
public static final JSFunction.GeneratorState Executing
public static final JSFunction.GeneratorState Completed
public static JSFunction.GeneratorState[] values()
public static JSFunction.GeneratorState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null