Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Get rid of $projectData dependency in services #900

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

Mitko-Kerezov
Copy link
Contributor

That way services become stateless and can be used in long-running processes

Ping @rosen-vladimirov @TsvetanMilanov

@justcodebuilduser
Copy link

❤️

1 similar comment
@justcodebuilduser
Copy link

❤️

@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/local-build-lib branch from c2f5918 to 7fcdcb5 Compare February 27, 2017 09:27
@justcodebuilduser
Copy link

❤️

2 similar comments
@justcodebuilduser
Copy link

❤️

@justcodebuilduser
Copy link

❤️

@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/local-build-lib branch from 344fabc to b24ff20 Compare March 2, 2017 13:45
@justcodebuilduser
Copy link

❤️

@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/local-build-lib branch from b24ff20 to 4f89c0a Compare March 2, 2017 13:50
@justcodebuilduser
Copy link

❤️

Copy link
Collaborator

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

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

But consider checking only emitEventName param

@@ -478,6 +478,10 @@ interface ISpawnResult {

interface ISpawnFromEventOptions {
throwError: boolean;
emitOptions?: {
shouldEmit: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

what's the case when I pass emitOptions, but I do not want to emit?

Includes:
* Split ICommonOptions interface - so that individual parts can be reused.
* Allow ChildProcess to emit stdout and stderr
@Mitko-Kerezov Mitko-Kerezov force-pushed the kerezov/local-build-lib branch from 4f89c0a to 24d47bb Compare March 3, 2017 10:15
@justcodebuilduser
Copy link

❤️

@Mitko-Kerezov Mitko-Kerezov merged commit abaed01 into master Mar 3, 2017
@Mitko-Kerezov Mitko-Kerezov deleted the kerezov/local-build-lib branch March 3, 2017 12:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants