UNPKG

@rcsb/rcsb-saguaro-3d

Version:
19 lines (18 loc) 495 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FunctionCall = void 0; var FunctionCall; (function (FunctionCall) { function onetimeCall(f) { const g = { onetime: (x) => { f(x); g.onetime = (x) => { }; } }; return (x) => { g.onetime(x); }; } FunctionCall.onetimeCall = onetimeCall; })(FunctionCall || (exports.FunctionCall = FunctionCall = {}));