Skip to content

Network requests are performed on the main queue #5

@davedelong

Description

@davedelong

-[THTTPRequest flush] enqueues operations onto the main queue and waits until they're finished:

[[NSOperationQueue mainQueue] addOperations:@[self.httpOperation] waitUntilFinished:YES];

This prohibits developers from writing Foundation tools that do not utilize a run-loop on the main thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions