Skip to content

add a callback on upload progress#104

Open
gsabran wants to merge 2 commits intoLepozepo:masterfrom
gsabran:upload-progress-callback
Open

add a callback on upload progress#104
gsabran wants to merge 2 commits intoLepozepo:masterfrom
gsabran:upload-progress-callback

Conversation

@gsabran
Copy link

@gsabran gsabran commented Mar 16, 2016

Give the options to have a callback that gets ping on upload progress

# relative_url

upload: (ops = {},callback) ->
upload: (ops = {},callback, progressCb) ->
Copy link
Owner

Choose a reason for hiding this comment

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

Mmm, not sure about this pattern, maybe we can have it inside of ops or build a separate reactive bound function to catch it. What do you think @gsabran ?

@gsabran
Copy link
Author

gsabran commented Mar 17, 2016

sure, within ops is cool as well

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.

2 participants