Page Contents
Home > @loopback/core > Application > assertNotInProcess
Application.assertNotInProcess() method
Assert there is no other operation is in progress, i.e., the state is not *ing
, such as starting
or stopping
.
Signature:
protected assertNotInProcess(op: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
op | string | The operation name, such as ‘boot’, ‘start’, or ‘stop’ |
Returns:
void