MCPcopy
hub / github.com/hapijs/hapi / provision

Method provision

lib/types/server/cache.d.ts:49–49  ·  view source on GitHub ↗

* Provisions a server cache as described in server.cache where: * @param options - same as the server cache configuration options. * @return Return value: none. * Note that if the server has been initialized or started, the cache will be automatically started to match the state of any

(options: ServerOptionsCache)

Source from the content-addressed store, hash-verified

47 * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servercacheprovisionoptions)
48 */
49 provision(options: ServerOptionsCache): Promise<void>;
50}
51
52export type CacheProvider<T extends ClientOptions = ClientOptions> = EnginePrototype<any> | {

Callers 4

core.jsFile · 0.80
methods.jsFile · 0.80
server.jsFile · 0.80
index.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected