UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

24 lines (16 loc) 345 B
'use strict'; const internals = {}; module.exports = function (method) { if (method._hoekOnce) { return method; } let once = false; const wrapped = function (...args) { if (!once) { once = true; method(...args); } }; wrapped._hoekOnce = true; return wrapped; };