Swoole Swoole\Channel 클래스
(PECL swoole >= 1.9.0)
소개
클래스 개요
class Swoole\Channel {
/* Methods */
public __destruct(): void
public pop(): mixed
public push(string $data): bool
public stats(): array
}
목차
- Swoole\Channel::__construct — 스울 채널 구축
- Swoole\Channel::__destruct — Swoole 채널을 파괴.
- Swoole\Channel::pop — swoole 채널에서 데이터를 읽고 팝합니다.
- Swoole\Channel::push — woole 채널에 데이터를 쓰고 푸시합니다.
- Swoole\Channel::stats — swoole 채널의 통계를 가져옵니다.