OptionalrestNonce?: stringOptionalrestPathObfuscateOffset?: stringOptionalrestQuery?: objectOptionalrestRecreateNonceEndpoint?: stringOptionalonQueueItemFinished?: (state: boolean) => voidThis method gets called when a queue item got finished (resolved or rejected).
It does not return the current value for the request, for this you need to use
the result of the original commonRequest call.
This is called before the commonRequest Promise gets resolved and ignores
the passed waitForPromise.
Optionalsignal?: AbortSignalOptionalwaitForPromise?: Promise<void>Wait for this promise to be resolved before resolving the commonRequest Promise.
This is useful if you use a huge list in your e.g. React component and you want to
delay UI changes.
Add a request to the batch request pool and execute it accordingly. Please note, that only non-GET requests and routes with enabled
allow_batchand non-multipart request are suitable for the batch requests in WordPress.