International PHP Conference 2019 - Spring Edition

The Swoole\Async class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Introduction

Class synopsis

Swoole\Async {
/* Methods */
public static void dnsLookup ( string $hostname , callable $callback )
public static bool read ( string $filename , callable $callback [, integer $chunk_size [, integer $offset ]] )
public static void readFile ( string $filename , callable $callback )
public static void set ( array $settings )
public static void write ( string $filename , string $content [, integer $offset [, callable $callback ]] )
public static void writeFile ( string $filename , string $content [, callable $callback [, string $flags ]] )
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top