Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$browser.notifyWhenNoOutstandingRequests doesn't update view #507

Closed
@vojtajina

Description

@vojtajina

At least, we should mention this in docs.

I know, this method waits for $browser.defers to be finished... But still feeling like we should add something like "notifyWhenNoPendingRequest" on $xhr level.. which would be called before $updateView():

So $xhr would handling $updating the view:

  1. request is response is back from server
  2. call success/error callbacks
  3. notify no pending requests (or fire global event, whatever)
  4. update view

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions