MCPcopy Index your code
hub / github.com/hapijs/hapi / after

Function after

test/server.js:2783–2788  ·  view source on GitHub ↗
(srv2)

Source from the content-addressed store, hash-verified

2781 register: function (srv, options) {
2782
2783 const after = function (srv2) {
2784
2785 if (typeof srv2.a !== 'function') {
2786 throw new Error('Missing decoration');
2787 }
2788 };
2789
2790 srv.dependency('a', after);
2791 }

Callers

nothing calls this directly

Calls 1

exposeMethod · 0.80

Tested by

no test coverage detected