update page now

Swoole\Event::wait

(PECL swoole >= 1.9.0)

Swoole\Event::waitDescrição

Descrição

public static Swoole\Event::wait(): void

Aviso

Esta função não está documentada; apenas a lista de argumentos está disponível.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

adicionar nota

Notas de Usuários 1 note

up
2
Mohamed Ramadan
5 years ago
you can defined any function and didn't return any response till you end server 
/ write hello in terminal every 1 second and didnt stop
Swoole\Timer::tick(1000, function () {
    echo "hello\n";
});

Swoole\Event::wait();
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant