Documentation
API Reference
Interfaces
Loader

graphql-tools-monorepo / utils/src / Loader

Interface: Loader<TOptions>

utils/src.Loader

Type parameters

NameType
TOptionsextends BaseLoaderOptions = BaseLoaderOptions

Implemented by

Table of contents

Methods

Methods

load

load(pointer, options?): Promise<null | Source[]>

Parameters

NameType
pointerstring
options?TOptions

Returns

Promise<null | Source[]>

Defined in

packages/utils/src/loaders.ts:22


loadSync

loadSync(pointer, options?): null | Source[]

Parameters

NameType
pointerstring
options?TOptions

Returns

null | Source[]

Defined in

packages/utils/src/loaders.ts:23