API ReferenceGlobalsAsyncGuard

# Class: AsyncGuard <T>

# Type parameters

T

# Hierarchy

  • AsyncGuard

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new AsyncGuard(info?: any): AsyncGuard

Defined in packages/common-core/src/async-guard.ts:6

Parameters:

Name Type
info? any

Returns: AsyncGuard

# Properties

# info

info: any

Defined in packages/common-core/src/async-guard.ts:3

# Methods

# reject

reject(e: Error): void

Defined in packages/common-core/src/async-guard.ts:27

Parameters:

Name Type
e Error

Returns: void


# reset

reset(): void

Defined in packages/common-core/src/async-guard.ts:35

Returns: void


# resolve

resolve(value?: any): void

Defined in packages/common-core/src/async-guard.ts:20

Parameters:

Name Type
value? any

Returns: void


# wait

wait(): Promise‹T›

Defined in packages/common-core/src/async-guard.ts:31

Returns: Promise‹T›