Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (24 sloc) 801 Bytes


A function that you provide to Redux Beacon for each Redux or ngrx/store action you want to track.


function eventDef(action, prevState, nextState) {
  // Return:
  //   - an event object, or
  //   - an array of event objects, or
  //   - a Promise that resolves to an event object, or
  //   - a Promise that resolves to an array of event objects


  • Redux Beacon calls every event definition with three arguments:
    • action: The action object.
    • prevState: The state before the action.
    • nextState: The state after the action.

Typescript Type

import { EventDefinition } from 'redux-beacon';


You can’t perform that action at this time.