# mesh-tailable-bus

> Creates a bus that can be tailed for all actions executed against it.

Latest version **1.0.9** (published 2016-07-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install mesh-tailable-bus
pnpm add mesh-tailable-bus
yarn add mesh-tailable-bus
bun add mesh-tailable-bus
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2016-07-19 |
| First published | 2015-11-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | architectd, crcn |

## Links

- npm: https://www.npmjs.com/package/mesh-tailable-bus
- npm.io page: https://npm.io/package/mesh-tailable-bus

## Dependencies (1)

- [mesh](https://npm.io/package/mesh.md) ^6.0.0

## Recent versions

- 1.0.9 (latest) — 2016-07-19
- 1.0.8 — 2016-07-19
- 1.0.7 — 2016-07-19
- 1.0.6 — 2016-07-19
- 1.0.5 — 2015-11-12
- 1.0.4 — 2015-11-12
- 1.0.3 — 2015-11-11
- 1.0.2 — 2015-11-11

## README

Creates a bus that can be tailed for all actions executed against it.

**Installation**: `npm install mesh-tailable-bus`

```javascript
import TailableBus from 'mesh-tailable-bus';
var bus = TailableBus.create(NoopBus.create());
var tail = bus.createTail();

tail.pipeTo({
  write: function(action) {
    // handle tailed action - { action: "doSomething" }
  },
  close: function() { },
  abort: function() { }
});

// trigger tail
bus.execute({ action: "doSomething" });
```

---
_Source: https://npm.io/package/mesh-tailable-bus · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
