Skip to content

Conversation

@c0ze
Copy link
Contributor

@c0ze c0ze commented Sep 19, 2017

this should fix #628 .

There is an unnecessary type change from

string reader -> string (api/server/runner.go)

https://github.com/iron-io/functions/blob/master/api/server/runner.go#L211

and then to string -> string reader (api/server/runner.go)
(this commits change)

Hmm, maybe actually for async runner, reading/consuming the reader is necessary.
And passing as another reader is necessary to keep compatibility with sync runners.

@c0ze c0ze requested a review from kunihiko-t September 19, 2017 13:48
@c0ze
Copy link
Contributor Author

c0ze commented Sep 22, 2017

@kunihiko-t when you have a chance, could you have a look into this please ?
thanks !

Copy link
Contributor

@kunihiko-t kunihiko-t left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@c0ze c0ze merged commit 330088d into master Sep 22, 2017
@c0ze c0ze deleted the fix-async-stdin branch January 16, 2018 00:55
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.

passing data into an asynchronous function

3 participants