Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/athena-framework/event-dispatcher

A Mediator and Observer pattern event library
https://github.com/athena-framework/event-dispatcher

component crystal

Last synced: about 2 months ago
JSON representation

A Mediator and Observer pattern event library

Lists

README

        

# Event Dispatcher

[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)
[![CI](https://github.com/athena-framework/athena/workflows/CI/badge.svg)](https://github.com/athena-framework/athena/actions/workflows/ci.yml)
[![Latest release](https://img.shields.io/github/release/athena-framework/event-dispatcher.svg?style=flat-square)](https://github.com/athena-framework/event-dispatcher/releases)

A [Mediator](https://en.wikipedia.org/wiki/Mediator_pattern) and [Observer](https://en.wikipedia.org/wiki/Observer_pattern) pattern event library.

## Installation

1. Add the dependency to your `shard.yml`:

```yaml
dependencies:
athena-event_dispatcher:
github: athena-framework/event-dispatcher
version: ~> 0.2.0
```

2. Run `shards install`

## Documentation

If using the component on its own, checkout the [API documentation](https://athenaframework.org/EventDispatcher).
If using the component as part of Athena, also checkout the [external documentation](https://athenaframework.org/architecture/event_dispatcher).

## Contributing

Read the general [Contributing Guide](./CONTRIBUTING.md) for information on how to get started.