3 [![Build Status](https://travis-ci.org/mike-php-net/atick.png?branch=master)](https://travis-ci.org/mike-php-net/atick)
5 Asynchronnous resource handling, optionally (ab)using ticks.
7 **Example with ticks:**
12 $conn = new \pq\Connection;
13 $conn->execAsync("SELECT * FROM foo", function ($rs) {
17 $ticker = new \atick\Ticker;
19 $ticker->read($conn->socket, function($fd) use ($conn) {
28 while (count($ticker));
31 **And an example without ticks:**
34 $conn = new \pq\Connection;
35 $conn->execAsync("SELECT * FROM foo", function ($r) {
39 $ticker = new \atick\Ticker;
40 $ticker->read($conn->socket, function($fd) use ($conn) {