Swoole swoole_async_writefile
(PECL swoole >= 1.9.0)
swoole_async_writefile — 비동기적으로 파일에 데이터 쓰기
설명
swoole_async_writefile( string $filename, string $content, callable $callback = ?, int $flags = 0 ): bool
매개변수
filename
- 작성 중인 파일 이름입니다.
content
- 파일에 쓰는 내용입니다.
callback
flags
반환 값
성공하면 true
를, 실패하면 false
를 반환합니다.