Raúl Kripalani
6b6139f7ce
Support wildcard subscriptions + getter for known types (optimized) ( #40 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2020-05-20 18:51:44 +01:00
dependabot-preview[bot]
9c15729013
Bump github.com/libp2p/go-libp2p-core from 0.5.0 to 0.5.6 ( #39 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2020-05-20 11:56:09 +01:00
Steven Allen
5e53d8f064
Merge pull request #28 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.5.0
...
Bump github.com/libp2p/go-libp2p-core from 0.3.0 to 0.5.0
2020-03-11 11:48:10 -07:00
dependabot-preview[bot]
258b78fa88
Bump github.com/libp2p/go-libp2p-core from 0.3.0 to 0.5.0
...
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases )
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 11:18:09 +00:00
Steven Allen
ff9925e51f
Merge pull request #25 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.3.0
...
Bump github.com/libp2p/go-libp2p-core from 0.2.5 to 0.3.0
2019-12-17 12:46:43 +01:00
dependabot-preview[bot]
0e3045bb10
Bump github.com/libp2p/go-libp2p-core from 0.2.5 to 0.3.0
...
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases )
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.2.5...v0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 11:19:39 +00:00
Steven Allen
8ae18d1356
Merge pull request #23 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.2.5
...
Bump github.com/libp2p/go-libp2p-core from 0.2.2 to 0.2.5
2019-12-06 20:13:11 -05:00
dependabot-preview[bot]
11999efa2d
Bump github.com/libp2p/go-libp2p-core from 0.2.2 to 0.2.5
...
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core ) from 0.2.2 to 0.2.5.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases )
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.2.2...v0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-07 01:09:51 +00:00
Steven Allen
e358464c5b
Merge pull request #22 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-testing-0.1.1
...
Bump github.com/libp2p/go-libp2p-testing from 0.0.4 to 0.1.1
2019-12-06 20:07:30 -05:00
Steven Allen
0a84ebcf30
Merge pull request #24 from libp2p/ci/go-1.13
...
ci: bump go to 1.13
2019-12-06 16:56:17 -05:00
Steven Allen
0f2b217368
ci: bump to go 1.13
2019-12-06 16:30:18 -05:00
dependabot-preview[bot]
2a09bc5311
Bump github.com/libp2p/go-libp2p-testing from 0.0.4 to 0.1.1
...
Bumps [github.com/libp2p/go-libp2p-testing](https://github.com/libp2p/go-libp2p-testing ) from 0.0.4 to 0.1.1.
- [Release notes](https://github.com/libp2p/go-libp2p-testing/releases )
- [Commits](https://github.com/libp2p/go-libp2p-testing/compare/v0.0.4...v0.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 17:40:46 +00:00
bigs
d34a18eba2
Merge pull request #21 from libp2p/bug/panic-after-close
...
[DEPENDENT MERGE] Return error rather than panic in Emit
2019-08-06 16:48:00 -04:00
Cole Brown
7c7260c6f3
Bump go-libp2p-core
2019-08-06 16:37:00 -04:00
bigs
40251732b1
Update test error message
...
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-08-01 09:38:57 -08:00
Cole Brown
217da8e826
Return error when closing already closed emitter
2019-07-31 19:46:51 -04:00
Cole Brown
b1629519a0
Return error rather than panic in Emit
2019-07-30 15:51:57 -04:00
Łukasz Magiera
4afad1f620
Merge pull request #17 from libp2p/fix/with-node
...
nit: fix with-node
2019-06-28 00:40:03 +02:00
Łukasz Magiera
d88ec38bc6
Merge pull request #19 from libp2p/fix/16
...
fix: serialize publishing
2019-06-28 00:38:22 +02:00
Steven Allen
25d54bbbec
fix: serialize publishing
...
Ensure that all subscribers see events in the same order. This also ensures that
the subscribers never see the initial "latest" event after some other event.
fixes #16
2019-06-27 22:34:44 +02:00
Łukasz Magiera
04058af20a
Merge pull request #18 from libp2p/fix/fully-drain
...
fix: completely drain on close
2019-06-27 22:15:01 +02:00
Steven Allen
a77f09c820
fix: completely drain on close
...
Issue: We could partially drain and end up with, e.g., a close event missing a
matching open event.
2019-06-27 20:17:04 +02:00
Steven Allen
7b280b5c1b
nit: fix with-node
...
1. It doesn't return an error and we weren't checking it anyways.
2. Avoid a goroutine unless we need it.
2019-06-27 20:13:36 +02:00
Steven Allen
df5be7d7dd
Merge pull request #11 from libp2p/fix/things
...
Fix close deadlock and Sub type error
2019-06-27 20:13:09 +02:00
Łukasz Magiera
0c299185af
Merge pull request #14 from libp2p/nit/simple-reflect
...
nit: avoid ValueOf
2019-06-27 19:40:02 +02:00
Steven Allen
12782426ed
nit: avoid ValueOf
...
We only need TypeOf.
2019-06-27 19:20:43 +02:00
Łukasz Magiera
9c3fe0580a
Merge pull request #13 from libp2p/feat/buffer-by-default
...
Enable buffering by default
2019-06-25 22:07:48 +02:00
Jakub Sztandera
0976d4b358
Enable buffering by default
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-25 20:47:02 +02:00
Łukasz Magiera
61257f90a2
Merge pull request #12 from libp2p/feat/better-bench
...
Improve benchmarks
2019-06-22 17:41:26 +02:00
Jakub Sztandera
85cd6aa7c7
Add benchmarks for subscribe and emitter
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-22 17:39:16 +02:00
Jakub Sztandera
fc8fa53d99
Clean up format
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-22 15:50:30 +02:00
Jakub Sztandera
facb8f2fed
Reduce number of samples
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-22 15:48:06 +02:00
Jakub Sztandera
454cbe5497
Make the test fail in reasonable time
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-22 15:45:09 +02:00
Jakub Sztandera
d2cb2a10b6
Improve benchmarks
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-06-22 15:30:12 +02:00
Łukasz Magiera
3fd76c7eac
Add test for #10
2019-06-22 15:14:04 +02:00
Łukasz Magiera
525a0e67fe
fix close deadlock and Sub type error
2019-06-22 12:05:03 +02:00
Łukasz Magiera
6212a929bf
refactor interfaces ( #9 )
2019-06-21 17:50:36 +01:00
Raúl Kripalani
f100eac4ef
Refinements before first release 🎉 ( #7 )
2019-06-20 16:17:57 +01:00
Raúl Kripalani
c7aefba960
update go-libp2p-core dep.
2019-06-20 00:01:35 +01:00
Raúl Kripalani
fe6d9d1489
rename eventbus package. ( #4 )
2019-06-19 16:55:25 +01:00
Łukasz Magiera
131418619d
Merge pull request #1 from libp2p/feat/implement
...
Implement
2019-06-19 17:32:27 +02:00
Raúl Kripalani
015ba825e9
fix compile error in tests.
2019-06-19 16:21:55 +01:00
Raúl Kripalani
8b7b645962
remove superfluous types.
2019-06-19 16:13:28 +01:00
Raúl Kripalani
bd8289f870
make Emitter an interface.
2019-06-19 16:10:03 +01:00
Łukasz Magiera
1ab671b0ca
Merge pull request #2 from libp2p/ci/enable
...
ci: enable
2019-06-19 16:04:46 +02:00
Łukasz Magiera
a1807fd415
Drop the interface
2019-06-19 15:36:31 +02:00
Łukasz Magiera
2341c42dab
Merge pull request #3 from libp2p/feat/interface
...
generify options.
2019-06-19 15:13:27 +02:00
Raúl Kripalani
2ea3b26fbd
generify options.
2019-06-19 14:09:12 +01:00
Łukasz Magiera
04b7ec33de
BasicBus to basicBus
2019-06-19 15:00:22 +02:00
Łukasz Magiera
401bb25f47
return struct from NewBus
2019-06-19 14:48:41 +02:00