MCPcopy
hub / github.com/midwayjs/midway / DieselEngine

Class DieselEngine

packages/core/test/context/container.test.ts:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 @Scope(ScopeEnum.Prototype)
291 @Provide('diesel')
292 class DieselEngine implements Engine {
293 capacity = 20;
294 }
295
296 function engineFactory(context) {
297 return (named: string) => {

Callers

nothing calls this directly

Calls 2

ScopeFunction · 0.90
ProvideFunction · 0.90

Tested by

no test coverage detected