Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

psgi.nonblocking require AnyEvent #28

Open
wants to merge 1 commit into from

1 participant

@powerman

Clarify difference between using AnyEvent and other event loops.

@powerman powerman Update PSGI/FAQ.pod
Clarify difference between using AnyEvent and other event loops.
5286357
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 26, 2012
  1. @powerman

    Update PSGI/FAQ.pod

    powerman authored
    Clarify difference between using AnyEvent and other event loops.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 3 deletions.
  1. +4 −3 PSGI/FAQ.pod
View
7 PSGI/FAQ.pod
@@ -496,9 +496,10 @@ return a callback to delay the response.
C<wait_for_new_message> can be blocking or non-blocking: it's up to
you. Most of the case you want to run it non-blockingly and should use
-event loops like L<AnyEvent>. You may also check C<psgi.nonblocking>
-value to see that it's possible and fallback to a blocking call
-otherwise.
+L<AnyEvent> event loop (if you use another event loop your application
+will be compatible only with PSGI servers using same event loop).
+You may also check C<psgi.nonblocking> value to see that it's possible and
+fallback to a blocking call otherwise.
Also, to stream the content body (like streaming messages over the
Flash socket or multipart XMLHTTPRequest):
Something went wrong with that request. Please try again.