MCPcopy Create free account
hub / github.com/adonisjs/session / registerEdgePlugin

Method registerEdgePlugin

providers/session_provider.ts:40–46  ·  view source on GitHub ↗

* Registers edge plugin when edge is installed * in the user application.

()

Source from the content-addressed store, hash-verified

38 * in the user application.
39 */
40 protected async registerEdgePlugin() {
41 if (this.app.usingEdgeJS) {
42 const edge = await import('edge.js')
43 const { edgePluginSession } = await import('../src/plugins/edge.js')
44 edge.default.use(edgePluginSession)
45 }
46 }
47
48 /**
49 * Resolves the session config from the config provider

Callers 1

bootMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected