Skip to content

loadShards

1
function loadShards(paths: string[]): Promise<string[]>

Loads all shards path from the specified paths and directories.

Parameters

ParameterTypeDescription
pathsstring[]The paths to load the shards from.

Returns

Promise<string[]>

Source

twitchfy/packages/eventsub/src/util/loadShards.ts:9