MCPcopy Create free account

hub / github.com/Aniket762/playground / functions

Functions104 in github.com/Aniket762/playground

↓ 24 callersFunctionprint
(method, args)
web/public/workbox-202dc43a.js:30
↓ 15 callersFunctiongetFriendlyURL
web/public/workbox-202dc43a.js:710
↓ 9 callersMethoditerateCallbacks
* Accepts a callback and returns an iterable of matching plugin callbacks, * where each callback is wrapped with the current handler state (i.e
web/public/workbox-202dc43a.js:1977
↓ 5 callersMethodmatch
({ url })
web/public/workbox-202dc43a.js:669
↓ 5 callersMethodwaitUntil
* Adds a promise to the * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}
web/public/workbox-202dc43a.js:2010
↓ 4 callersFunctionnormalizeHandler
web/public/workbox-202dc43a.js:532
↓ 4 callersMethodrunCallbacks
* Runs all plugin callbacks matching the given name, in order, passing the * given param object (merged ith the current plugin state) as the on
web/public/workbox-202dc43a.js:1959
↓ 4 callersFunctiontoRequest
(input)
web/public/workbox-202dc43a.js:1538
↓ 3 callersFunction_createCacheName
web/public/workbox-202dc43a.js:1348
↓ 3 callersMethodhandle
* Perform a request strategy and returns a `Promise` that will resolve with * a `Response`, invoking all relevant plugin callbacks. *
web/public/workbox-202dc43a.js:2189
↓ 2 callersMethodcacheMatch
* Matches a request from the cache (and invokes any applicable plugin * callback methods) using the `cacheName`, `matchOptions`, and `plugins`
web/public/workbox-202dc43a.js:1765
↓ 2 callersMethodfetch
* Fetches a given request (and invokes any applicable plugin callback * methods) using the `fetchOptions` (for non-navigation requests) and
web/public/workbox-202dc43a.js:1653
↓ 2 callersMethodgetCacheKey
* Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and * executes any of those callbacks found in sequence. The final `Request
web/public/workbox-202dc43a.js:1904
↓ 2 callersMethodhandleRequest
* Apply the routing rules to a FetchEvent object to get a Response from an * appropriate Route's handler. * * @param {Object} opt
web/public/workbox-202dc43a.js:856
↓ 2 callersMethodhasCallback
* Returns true if the strategy has at least one plugin with the given * callback. * * @param {string} name The name of the callba
web/public/workbox-202dc43a.js:1932
↓ 2 callersFunctionstripParams
(fullURL, ignoreParams)
web/public/workbox-202dc43a.js:1390
↓ 2 callersFunctiontimeout
* Returns a promise that resolves and the passed number of milliseconds. * This utility is an async/await-friendly version of `setTimeout`.
web/public/workbox-202dc43a.js:1526
↓ 2 callersFunctionuseTheme
()
web/components/themeProvider.tsx:59
↓ 1 callersMethod_awaitComplete
(responseDone, handler, request, event)
web/public/workbox-202dc43a.js:2293
↓ 1 callersMethod_ensureResponseSafeToCache
* This method will call cacheWillUpdate on the available plugins (or use * status === 200) to determine if the Response is safe and valid to ca
web/public/workbox-202dc43a.js:2055
↓ 1 callersMethod_getNetworkPromise
* @param {Object} options * @param {number|undefined} options.timeoutId * @param {Request} options.request * @param {Array} optio
web/public/workbox-202dc43a.js:2552
↓ 1 callersMethod_getResponse
(handler, request, event)
web/public/workbox-202dc43a.js:2243
↓ 1 callersMethod_getTimeoutPromise
* @param {Object} options * @param {Request} options.request * @param {Array} options.logs A reference to the logs array * @param
web/public/workbox-202dc43a.js:2518
↓ 1 callersMethod_handle
* @private * @param {Request|string} request A request to run this strategy for. * @param {module:workbox-strategies.StrategyHandler} ha
web/public/workbox-202dc43a.js:2644
↓ 1 callersMethodaddCacheListener
* Adds a message event listener for URLs to cache from the window. * This is useful to cache resources loaded on the page prior to when the
web/public/workbox-202dc43a.js:806
↓ 1 callersMethodaddFetchListener
* Adds a fetch event listener to respond to events when a route matches * the event's request.
web/public/workbox-202dc43a.js:766
↓ 1 callersFunctioncacheMatchIgnoreParams
* Matches an item in the cache, ignoring specific URL params. This is similar * to the `ignoreSearch` option, but it allows you to ignore just sp
web/public/workbox-202dc43a.js:1413
↓ 1 callersMethodcachePut
* Puts a request/response pair in the cache (and invokes any applicable * plugin callback methods) using the `cacheName` and `plugins` defined
web/public/workbox-202dc43a.js:1815
↓ 1 callersFunctioncreateAPIKeyFile
()
utils/createAPIKeyFile.js:3
↓ 1 callersMethoddestroy
* Stops running the strategy and immediately resolves any pending * `waitUntil()` promises.
web/public/workbox-202dc43a.js:2040
↓ 1 callersFunctiondetectText
utils/htr.js:4
↓ 1 callersMethoddoneWaiting
* Returns a promise that resolves once all promises passed to * [`waitUntil()`]{@link module:workbox-strategies.StrategyHandler~waitUntil}
web/public/workbox-202dc43a.js:2027
↓ 1 callersFunctioneachCacheNameDetail
web/public/workbox-202dc43a.js:1352
↓ 1 callersFunctionexecuteCpp
(filepath)
bin/executeCpp.js:12
↓ 1 callersFunctionexecutePy
(filepath)
bin/excecutePy.js:3
↓ 1 callersFunctionexecuteQuotaErrorCallbacks
* Runs all of the callback functions, one at a time sequentially, in the order * in which they were registered. * * @memberof module:wo
web/public/workbox-202dc43a.js:1493
↓ 1 callersMethodfetchAndCachePut
* Calls `this.fetch()` and (in the background) runs `this.cachePut()` on * the response generated by `this.fetch()`. * * The call
web/public/workbox-202dc43a.js:1745
↓ 1 callersMethodfindMatchingRoute
* Checks a request and URL (and optionally an event) against the list of * registered routes, and if there's a match, returns the corresponding
web/public/workbox-202dc43a.js:1023
↓ 1 callersFunctiongenerateFile
(format, code)
utils/generateFile.js:12
↓ 1 callersFunctiongetOrCreateDefaultRouter
()
web/public/workbox-202dc43a.js:1201
↓ 1 callersMethodhandleAll
* Similar to [`handle()`]{@link module:workbox-strategies.Strategy~handle}, but * instead of just returning a `Promise` that resolves to a `Res
web/public/workbox-202dc43a.js:2217
↓ 1 callersFunctionhandleSubmit
(title: string, message: string)
web/pages/form.tsx:8
↓ 1 callersFunctionpassCheck
()
web/components/allQuestions.jsx:6
↓ 1 callersMethodregisterRoute
* Registers a route with the router. * * @param {module:workbox-routing.Route} route The route to register.
web/public/workbox-202dc43a.js:1118
↓ 1 callersFunctiontoApprove
(id)
web/components/allQuestions.jsx:14
↓ 1 callersFunctionvalued
()
lib/server.js:34
FunctionAwesomeEditor
({heading, description})
web/components/awesomeHeading.tsx:8
FunctionBtn
({ children, handleClick, darkText })
web/components/button.tsx:9
FunctionConfirmedQuestions
()
web/components/confirmedQuestions.jsx:6
FunctionEditor
()
web/components/editor.tsx:11
FunctionEditorText
({props, code, setCode})
web/components/editorText.tsx:14
FunctionFooter
()
web/components/footer.tsx:4
FunctionForm
()
web/pages/form.tsx:24
FunctionHeader
()
web/components/header.tsx:5
FunctionHome
()
web/pages/index.tsx:15
FunctionMyApp
({ Component, pageProps }: AppProps)
web/pages/_app.tsx:4
FunctionNavbar
()
web/components/navbar.tsx:7
FunctionQuestion
()
web/components/question.tsx:4
FunctionQuestions
()
web/components/allQuestions.jsx:26
FunctionThemeProvider
({children}: Props)
web/components/themeProvider.tsx:17
Method_handle
* @private * @param {Request|string} request A request to run this strategy for. * @param {module:workbox-strategies.StrategyHandler} ha
web/public/workbox-202dc43a.js:2441
FunctionclientsClaim
* Claim any currently available clients once the service worker * becomes active. This is normally used in conjunction with `skipWaiting()`.
web/public/workbox-202dc43a.js:2715
Methodconstructor
* * @param {string} errorCode The error code that * identifies this particular error. * @param {Object=} details Any relevant arg
web/public/workbox-202dc43a.js:400
Methodconstructor
* Constructor for Route class. * * @param {module:workbox-routing~matchCallback} match * A callback function that determines whet
web/public/workbox-202dc43a.js:589
Methodconstructor
* If the regular expression contains * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/
web/public/workbox-202dc43a.js:659
Methodconstructor
* Initializes a new Router.
web/public/workbox-202dc43a.js:746
Methodconstructor
* Creates a promise and exposes its resolve and reject functions as methods.
web/public/workbox-202dc43a.js:1457
Methodconstructor
* Creates a new instance associated with the passed strategy and event * that's handling the request. * * The constructor also in
web/public/workbox-202dc43a.js:1570
Methodconstructor
* Creates a new instance of the strategy and sets all documented option * properties as public instance properties. * * Note: if
web/public/workbox-202dc43a.js:2131
Methodconstructor
* @param {Object} [options] * @param {string} [options.cacheName] Cache name to store and retrieve * requests. Defaults to cache names p
web/public/workbox-202dc43a.js:2411
Methodconstructor
* @param {Object} [options] * @param {Array<Object>} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/u
web/public/workbox-202dc43a.js:2631
FunctionfileFilter
(req, file, cb)
lib/server.js:84
FunctiongeneratorFunction
(code, details = {})
web/public/workbox-202dc43a.js:362
FunctionhandleChange
()
web/components/navbar.tsx:10
FunctionhandleSubmit
()
web/components/editor.tsx:28
Functionhandler
( req: NextApiRequest, res: NextApiResponse<Data> )
web/pages/api/hello.ts:8
FunctionhasMethod
(object, expectedMethod, details)
web/public/workbox-202dc43a.js:429
FunctionisArray
(value, details)
web/public/workbox-202dc43a.js:423
FunctionisArrayOfClass
(value, // Need general type to do check later. expectedClass, // eslint-disable-line details)
web/public/workbox-202dc43a.js:461
FunctionisInstance
(object, // Need the general type to do the check later. // eslint-disable-next-line @typescript-eslint/ba
web/public/workbox-202dc43a.js:445
FunctionisOneOf
(value, validValues, details)
web/public/workbox-202dc43a.js:454
FunctionisType
(object, expectedType, details)
web/public/workbox-202dc43a.js:438
Functionmain
functions/input/ba1b4562-906b-4556-b14a-bf431d39dd67.cpp:3
Functionmain
functions/input/902b73e2-9fc1-4174-9ac3-07b5219a0133.cpp:3
Functionmain
functions/input/6f245e0a-dbbc-48f0-91db-1c952e90cc11.cpp:3
Functionmain
functions/input/19dd3a3a-e775-4121-af87-1bb86f3ac5a5.cpp:3
Functionmain
functions/input/83c99ce1-ab0e-405b-86a2-b334717ad8e8.cpp:4
Functionmain
functions/input/58d800a4-369c-43ad-bfac-b43094ed5f6a.cpp:3
FunctionmatchCallback
({ url })
web/public/workbox-202dc43a.js:1265
Functionoffline
()
web/pages/_offline.jsx:3
FunctiononChange
(value: string)
web/components/editorText.tsx:23
MethodonNetworkTimeout
()
web/public/workbox-202dc43a.js:2525
FunctionquestionBank
()
web/pages/questionBank.tsx:8
FunctionquestionsPage
()
web/pages/questionsPage.tsx:8
FunctionregisterRoute
* Easily register a RegExp, string, or function with a caching * strategy to a singleton Router instance. * * This method will generate
web/public/workbox-202dc43a.js:1239
Methodrender
()
web/components/photo.jsx:49
Methodrender
()
web/pages/_document.jsx:4
Methodroutes
* @return {Map<string, Array<module:workbox-routing.Route>>} routes A `Map` of HTTP * method name ('GET', etc.) to an array of all the correspo
web/public/workbox-202dc43a.js:757
MethodsetCatchHandler
* * @param {module:workbox-routing-handlerCallback} handler A callback * function that returns a Promise resolving to a Response
web/public/workbox-202dc43a.js:618
MethodsetCatchHandler
* If a Route throws an error while handling a request, this `handler` * will be called and given a chance to provide a response. *
web/public/workbox-202dc43a.js:1108
next →1–100 of 104, ranked by callers