UNPKG

grpc-host-builder

Version:
12 lines (10 loc) 367 B
const processingContext = require("processing-context"); /** * @param {import("../index").ServiceCall} call * @param {import("@grpc/grpc-js").MethodDefinition} methodDefinition * @param {import("../index").handleServiceCall<any, any>} next */ module.exports = async function (call, methodDefinition, next) { processingContext.create(); return next(call); };