Swoole Swoole\Async::write
(PECL swoole >= 1.9.0)
Swoole\Async::write — 비동기적으로 파일 스트림에 데이터를 씁니다.
설명
public static Swoole\Async::write( string $filename, string $content, int $offset = ?, callable $callback = ? ): void
매개변수
filename
- 작성 중인 파일 이름입니다.
content
- 파일에 쓰는 내용입니다.
offset
- 오프셋.
callback