abort
abort is an asynchronous function that aborts the initialization of a Hydra head. This action can be used if the head initialization process is stuck or needs to be cancelled before it reaches the Open state.
Function Signature
async abort(wait: boolean = false): Promise<any>;
Parameters
wait: An optionalbooleanindicating whether to wait for the abort to complete. Defaults tofalse.