LogoLogo
v3.2
v3.2
  • Introduction
  • Getting Started
    • Why
    • Installation
  • Concepts
    • Introduction
    • Store
    • Actions
    • State
    • Select
  • API
    • Action
    • Actions
    • ActionsStream
    • Module
    • of-action
    • Select
    • Selector
    • State
    • Store
  • Advanced
    • Lazy Loading
    • Sub States
    • Cancellation
    • Action Handlers
    • Composition
    • Error Handling
    • Life-cycle
    • Meta Reducers
    • Shared State
  • Recipes
    • Authentication
    • Caching
    • Unit Testing
    • Style Guide
  • Plugins
    • Introduction
    • Logger
    • Devtools
    • Storage
    • Forms
    • Web Socket
    • Router
  • Community
    • FAQ
    • Resources
    • Contributors
    • Contributing
    • Sponsors
  • Changelog
Powered by GitBook
On this page
  • External module: "of-action"
  • Index
  • Functions
  1. API

of-action

PreviousModuleNextSelect

Last updated 6 years ago

>

External module: "of-action"

Index

Functions

Functions

createAllowedMap

▸ createAllowedMap(types: any[]): object

Parameters:

Param

Type

types

any[]

Returns: object

filterStatus

Parameters:

Param

Type

allowedTypes

object

Optional status

mapAction

ofAction

▸ ofActionT(allowedType: any): OperatorFunction<any, T>

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

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:

Param

Type

allowedType

any

Returns: OperatorFunction<any, T>

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:

Param

Type

Rest allowedTypes

any[]

Returns: OperatorFunction<any, T>

ofActionCanceled

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

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just been canceled

Parameters:

Param

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

ofActionDispatched

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

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just been dispatched

Parameters:

Param

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

ofActionErrored

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

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just thrown an error

Parameters:

Param

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

ofActionOperator

Parameters:

Param

Type

allowedTypes

any[]

Optional status

Returns: (Anonymous function)

ofActionSuccessful

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

RxJS operator for selecting out specific actions.

This will ONLY grab actions that have just been successfully completed

Parameters:

Param

Type

Rest allowedTypes

any[]

Returns: (Anonymous function)

Defined in

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

Defined in

Returns: MonoTypeOperatorFunction<>

▸ mapAction(): OperatorFunction<, any>

Defined in

Returns: OperatorFunction<, any>

Defined in

Defined in

Defined in

Defined in

Defined in

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

Defined in

Defined in

API
"of-action"
createAllowedMap
filterStatus
mapAction
ofAction
ofActionCanceled
ofActionDispatched
ofActionErrored
ofActionOperator
ofActionSuccessful
of-action.ts:73
ActionStatus
ActionContext
of-action.ts:61
ActionContext
ActionContext
of-action.ts:69
ActionContext
of-action.ts:6
of-action.ts:7
of-action.ts:41
of-action.ts:23
of-action.ts:50
ActionStatus
of-action.ts:54
of-action.ts:32
ActionStatus
ActionStatus