HH\Awaitable::setOnJoinCallback

Set callback for when \HH\Asio\join() is called

final public static function setOnJoinCallback(
  mixed $callback,
): void;

Parameters

  • mixed $callback - A Closure to be called on \HH\Asio\join()

Returns

  • void