JSCompat\Api\invoke

namespace JSCompat\Api;

function invoke(
  (function():mixed) $thunk,
  mixed ...$args,
): Awaitable<mixed>;

Parameters

  • (function():mixed) $thunk
  • mixed ...$args