Swoole swoole_async_write

(PECL swoole >= 1.9.0)

swoole_async_write — 비동기적으로 파일 스트림에 데이터 쓰기


설명

swoole_async_write(
    string $filename,
    string $content,
    int $offset = ?,
    callable $callback = ?
): bool
                

매개변수

filename
작성 중인 파일 이름입니다.
content
파일에 쓰는 내용입니다.
offset
오프셋.
callback

반환 값

성공하면 true를, 실패하면 false를 반환합니다.