MCPcopy
hub / github.com/vercel/next.js / startChain

Method startChain

test/lib/browsers/playwright.ts:657–659  ·  view source on GitHub ↗

Start a chain. If continuing, it overwrites the current chained value.

(nextCall: () => TNext | Promise<TNext>)

Source from the content-addressed store, hash-verified

655
656 /** Start a chain. If continuing, it overwrites the current chained value. */
657 private startChain<TNext>(nextCall: () => TNext | Promise<TNext>) {
658 return this._chain(false, nextCall)
659 }
660
661 /** Either start or continue a chain. If continuing, it preserves the current chained value. */
662 private startOrPreserveChain(nextCall: () => Promise<void>) {

Callers 10

backMethod · 0.95
forwardMethod · 0.95
refreshMethod · 0.95
hasElementByCssMethod · 0.95
elementsByCssMethod · 0.95
waitForElementByCssMethod · 0.95
evalMethod · 0.95
logMethod · 0.95
websocketFramesMethod · 0.95
urlMethod · 0.95

Calls 1

_chainMethod · 0.95

Tested by

no test coverage detected