Skip to content

[Feature request] Implement delegate for when all HTTPRequests are finished #49

Description

@Naphier

Currently there's no built-in way to determine when all HTTPRequests are completed.

Developers can, of course, put in their own method, but this requires modifying the internal HTTPRequest class.

Consider adding a class with a delegate that will fire when all requests have completed. I did this with a simple static Action and int where the int increments with every HTTPRequest construction then decrements in the end of the DoRequest coroutine and when the int is 0 it fires the delegate. However, there's probably a more elegant way of doing this (I was in a rush ;)).

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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