Skip to content

(storage) Update to rxjs pipeable operators - #1624

Merged
jamesdaniels merged 3 commits into
angular:masterfrom
jymdman:storage-rxjs-pipeable
May 11, 2018
Merged

jamesdaniels merged 3 commits into
angular:masterfrom
jymdman:storage-rxjs-pipeable

Conversation

@jymdman

@jymdman jymdman commented May 11, 2018

Copy link
Copy Markdown
Contributor

Checklist

  • Issue number for this PR: #nnn (required)
  • Docs included?: (yes/no; required for all API/functional changes)
  • Test units included?: (yes/no; required)
  • In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description

Updates storage to rxjs pipeable operators

Comment thread src/storage/ref.ts Outdated
getDownloadURL: () => scheduler.keepUnstableUntilFirst(
scheduler.runOutsideAngular(
from(ref.getDownloadURL())
Observable.from(ref.getDownloadURL())

@jamesdaniels jamesdaniels May 11, 2018 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

import from and use here and other spots

Comment thread src/storage/storage.spec.ts Outdated
.do(url => expect(url).toBeDefined())
// Delete the file
.mergeMap(url => ref.delete())
const sub = Observable.forkJoin(task.snapshotChanges())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shouldn't we still be importing forkJoin?

@jamesdaniels
jamesdaniels merged commit 014be21 into angular:master May 11, 2018
@jymdman
jymdman deleted the storage-rxjs-pipeable branch May 11, 2018 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants