public class Scheduler
extends java.lang.Object
| Constructor and Description |
|---|
Scheduler(ReactContext reactContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushSerial(Work work) |
void |
flushSync(Work work) |
void |
scheduleSerial(Work work) |
void |
scheduleWork(Work work)
This method schedules work to be executed with the lowest priority in the JS Thread.
|
void |
shutdown()
Shutdowns the
Scheduler. |
public Scheduler(ReactContext reactContext)
public void scheduleWork(Work work)
public void flushSync(Work work)
public void flushSerial(Work work)
public void scheduleSerial(Work work)
public void shutdown()
Scheduler. this operation will attempt to stop all "active executing"
Works items and it will "halts:" all the Works items waiting to be executed.