MCPcopy
hub / github.com/lit/lit / _getArgs

Method _getArgs

packages/task/src/task.ts:271–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 }
270
271 private _getArgs() {
272 if (this._argsFn === undefined) {
273 return undefined;
274 }
275 const args = this._argsFn();
276 if (!Array.isArray(args)) {
277 throw new Error('The args function must return an array');
278 }
279 return args;
280 }
281
282 /**
283 * Determines if the task should run when it's triggered because of a

Callers 3

constructorMethod · 0.95
_performTaskMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected