Wait for external resources to become available -- http, https, tcp, sockets, files, and custom functions.