\

Namespaces

Imi

Functions

imiCallable()

imiCallable(callable  $callable) : callable

为传入的回调自动创建和销毁上下文,并返回新的回调

Parameters

callable $callable

Returns

callable

imigo()

imigo(callable  $callable) : void

启动一个协程,自动创建和销毁上下文

Parameters

callable $callable