Menu
Reference
- Manticore\Ds
- Async
- Classes
- AggregateError
- CancellationToken
- CancelledException
- Channel
- ChannelClosedException
- Context
- DeadlockException
- Mutex
- Once
- Pool
- Received
- SelectCase
- Selected
- Semaphore
- Settled
- Task
- TaskGroup
- TimeoutException
- Functions
- async()
- awaitAll()
- awaitAllSettled()
- awaitAny()
- channel()
- delay()
- dump()
- dumpOn()
- failure()
- group()
- mapConcurrent()
- mapSettled()
- readFile()
- select()
- selectNow()
- selectWithin()
- shield()
- shutdownOn()
- spawn()
- stats()
- timeout()
- watchdog()
- writeFile()
- Http
- Http\WebSocket
- Buffer
- Process
- Io\Poll
- Manticore\Sapi
- Ffi
dump()
function
function dump(): string
A snapshot of the engine as text.
Lists every live task with its id, label, where it was spawned and what it is parked on (an fd and direction, a timer, a channel, a select), plus the live, io-parked, timer and ready counts. The running task is marked *. A DeadlockException embeds the same report.
async: 3 live task(s), 2 parked on I/O, 1 on timers, 0 ready
* #1 at server.php:14 ready
#4 "http" at server.php:31 io-read fd=9 +deadline awaited
#7 near server.php:44 timerReturns
string — the report, or '' when no scheduler is running