(type)
| 477 | } |
| 478 | |
| 479 | async _invoke(type) { |
| 480 | |
| 481 | const exts = this.extensions.server[type]; |
| 482 | if (!exts.nodes) { |
| 483 | return; |
| 484 | } |
| 485 | |
| 486 | // Execute extensions |
| 487 | |
| 488 | for (const ext of exts.nodes) { |
| 489 | const bind = ext.bind ?? ext.realm.settings.bind; |
| 490 | const operation = ext.func.call(bind, ext.server, bind); |
| 491 | await Toolkit.timed(operation, { timeout: ext.timeout, name: type }); |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | _defaultRoutes() { |
| 496 |
no outgoing calls
no test coverage detected