Skip to content
This repository was archived by the owner on Jan 10, 2018. It is now read-only.

Provide option to send extra data #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Provide option to send extra data
through optional meta field.
  • Loading branch information
JonnyBGod authored Feb 3, 2017
commit 83bedfcf44f3e8b3f6dc4a532d8125671fe5a207
1 change: 1 addition & 0 deletions src/dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { BehaviorSubject } from 'rxjs/BehaviorSubject';
export interface Action {
type: string;
payload?: any;
meta?: any;
}

export class Dispatcher extends BehaviorSubject<Action> {
Expand Down