of-action

API > "operators/of-action"

External module: "operators/of-action"

Index

Functions

Functions

createAllowedMap

createAllowedMap(types: any[]): object

Defined in operators/of-action.ts:76

Parameters:

Name

Type

types

any[]

Returns: object

filterStatus

filterStatus(allowedTypes: object, status?: ActionStatus): MonoTypeOperatorFunction<ActionContext>

Defined in operators/of-action.ts:64

Parameters:

Name

Type

allowedTypes

object

Optional status

Returns: MonoTypeOperatorFunction<ActionContext>

mapAction

mapAction(): OperatorFunction<ActionContext, any>

Defined in operators/of-action.ts:72

Returns: OperatorFunction<ActionContext, any>

ofAction

ofAction<T>(allowedType: any): OperatorFunction<any, T>

ofAction<T>(...allowedTypes: any[]): OperatorFunction<any, T>

Defined in operators/of-action.ts:6

RxJS operator for selecting out specific actions.

This will grab actions that have just been dispatched as well as actions that have completed

Type parameters:

T

Parameters:

Name

Type

allowedType

any

Returns: OperatorFunction<any, T>

Defined in operators/of-action.ts:7

RxJS operator for selecting out specific actions.

This will grab actions that have just been dispatched as well as actions that have completed

Type parameters:

T

Parameters:

Name

Type

Rest allowedTypes

any[]

Returns: OperatorFunction<any, T>

ofActionCanceled

ofActionCanceled(...allowedTypes: any[]): (Anonymous function)

Defined in operators/of-action.ts:41

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just been canceled

Parameters:

Name

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

ofActionDispatched

ofActionDispatched(...allowedTypes: any[]): (Anonymous function)

Defined in operators/of-action.ts:23

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just been dispatched

Parameters:

Name

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

ofActionErrored

ofActionErrored(...allowedTypes: any[]): (Anonymous function)

Defined in operators/of-action.ts:50

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just thrown an error

Parameters:

Name

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

ofActionOperator

ofActionOperator(allowedTypes: any[], status?: ActionStatus): (Anonymous function)

Defined in operators/of-action.ts:54

Parameters:

Name

Type

allowedTypes

any[]

Optional status

Returns: (Anonymous function)

ofActionSuccessful

ofActionSuccessful(...allowedTypes: any[]): (Anonymous function)

Defined in operators/of-action.ts:32

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just been successfully completed

Parameters:

Name

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

Last updated