Graphorin API reference v0.1.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:193
Load multiple skills concurrently. Emits a warning diagnostic on the first encountered source error when throwOnSourceError === false; otherwise the first error propagates out unchanged.
Parameters
| Parameter | Type |
|---|---|
sources | readonly SkillSource[] |
options | LoadSkillsOptions |
Returns
Promise<readonly Skill[]>