API ReferenceGlobalsAsyncHelper

# Class: AsyncHelper

# Hierarchy

  • AsyncHelper

# Index

# Methods

# Methods

# Static failOperation

failOperation(operationType: ASYNC_OPERATIONS, data: Error): void

Defined in packages/configurator-core/src/utils/async-helper.ts:30

Parameters:

Name Type
operationType ASYNC_OPERATIONS
data Error

Returns: void


# Static finishOperation

finishOperation(operationType: ASYNC_OPERATIONS, data?: any): void

Defined in packages/configurator-core/src/utils/async-helper.ts:26

Parameters:

Name Type
operationType ASYNC_OPERATIONS
data? any

Returns: void


# Static waitFor

waitFor(operationType: ASYNC_OPERATIONS, startCommand?: function): Promise‹any›

Defined in packages/configurator-core/src/utils/async-helper.ts:34

Parameters:

operationType: ASYNC_OPERATIONS

Optional startCommand: function

▸ (): void

Returns: Promise‹any›