Skip to content

Commit

Permalink
Change default of SimpleEventBus to sync (same as factory in EventBus)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed Sep 16, 2013
1 parent 53692d3 commit 3d8a2b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
================

## Version 0.2.2 (2013-09-16) ##
* Change default of SimpleEventBus to sync (same as factory in EventBus)

## Version 0.2.1 (2013-07-01) ##
* Fix issue #6: Fire should accept null as data

Expand Down
2 changes: 1 addition & 1 deletion lib/src/simple_event_bus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SimpleEventBus implements EventBus {
* will be passed to the listeners at a later time, after the code creating
* the event has returned.
*/
SimpleEventBus({this.sync: false});
SimpleEventBus({this.sync: true});

/// Map containing a stream controller for each [EventType]
Map<EventType, StreamController> streamControllers =
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: event_bus
version: 0.2.1
version: 0.2.2
author: Marco Jakob <majakob@gmx.ch>
description: A simple Event Bus using Dart Streams for decoupling applications
homepage: https://github.com/marcojakob/dart-event-bus
Expand Down

0 comments on commit 3d8a2b3

Please sign in to comment.