Skip to content

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

ParameterType
sourcesreadonly SkillSource[]
optionsLoadSkillsOptions

Returns

Promise&lt;readonly Skill[]&gt;

Stable