MCPcopy
hub / github.com/expo/expo / push

Method push

packages/expo/src/winter/TextDecoder.ts:117–123  ·  view source on GitHub ↗

* When one or more tokens are pushed to a stream, those tokens * must be inserted, in given order, after the last token in the * stream. * * @param token The tokens(s) to push to the stream.

(token: number | number[])

Source from the content-addressed store, hash-verified

115 * @param token The tokens(s) to push to the stream.
116 */
117 push(token: number | number[]): void {
118 if (Array.isArray(token)) {
119 while (token.length) this.tokens.unshift(token.shift()!);
120 } else {
121 this.tokens.unshift(token);
122 }
123 }
124}
125
126function decoderError(fatal: boolean, opt_code_point?: number) {

Callers 15

codeMethod · 0.45
podUpdateAsyncFunction · 0.45
npxPodInstallAsyncFunction · 0.45
runTurboTasksAsyncFunction · 0.45
classifyDependenciesFunction · 0.45
listAllCommentsAsyncFunction · 0.45
execAllFunction · 0.45
applyPatchAsyncFunction · 0.45
constructorMethod · 0.45
publishPackageAsyncFunction · 0.45
getChangesAsyncMethod · 0.45

Calls

no outgoing calls

Tested by 15

makeObserveFunction · 0.36
makeImageModuleFunction · 0.36
itFunction · 0.36
addMockedFilesFunction · 0.36
writeFunction · 0.36
collectOutputOrderFunction · 0.36
createReporterFunction · 0.36
reportFatalErrorFunction · 0.36
trackMessageSocketFunction · 0.36
createFromFixtureAsyncFunction · 0.36
listFunction · 0.36