Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/skills / loader / loadSkills
Function: loadSkills()
ts
function loadSkills(sources, options?): Promise<readonly Skill[]>;Defined in: packages/skills/src/loader/index.ts:195
Load multiple skills concurrently. The sources are loaded in parallel and the returned array preserves input order. When throwOnSourceError === false (default) a failing source is logged and skipped; otherwise the first rejection propagates out unchanged.
Parameters
| Parameter | Type |
|---|---|
sources | readonly SkillSource[] |
options | LoadSkillsOptions |
Returns
Promise<readonly Skill[]>