[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / dispatchImport

# Function: dispatchImport()

> **dispatchImport**(`payload`): `Promise`\<`boolean`\>

Defined in: [admin/src/actions/ImportRecordsJob.ts:94](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/actions/ImportRecordsJob.ts#L94)

Push an import onto the queue, returning false when no queue is available so
the caller can fall back to importing inline.

## Parameters

### payload

[`ImportRecordsPayload`](../interfaces/ImportRecordsPayload)

## Returns

`Promise`\<`boolean`\>
