Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sinks: require start(), move bindCb to start(exitCb) #32

Merged
merged 1 commit into from Jun 10, 2019

Conversation

Fishrock123
Copy link
Owner

Closes: #24

This could simplify Stream() quite a bit, and I also think it makes more sense to always be explicit and then move the exit callback to here as well.

Copy link
Collaborator

@Raynos Raynos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Making binding and starting explicit will really help with cyclic dependencies and setup.

@@ -1,12 +1,12 @@
'use strict'

const { Buffer } = require('buffer')
const status_type = require('../status-enum')
const status_type = require('bob-status')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that bob-status is a seperate package is 🤣

@Fishrock123 Fishrock123 merged commit b5032d4 into master Jun 10, 2019
@Fishrock123 Fishrock123 deleted the always-sink-start branch June 10, 2019 22:38
Fishrock123 added a commit to Fishrock123/fs-sink that referenced this pull request Jun 10, 2019
Fishrock123 added a commit that referenced this pull request Jun 10, 2019
Fishrock123 added a commit that referenced this pull request Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: make start() standard instead of suggesting to automatically pull.
3 participants