class PromptAnimation

internal  
 

Own one interruptible prompt animation coroutine and its render failure.

Methods

__construct(Closure $render, int $interval)

Create a new prompt animation owner.

void
start()

Start the animation coroutine.

Throwable|null
stop()

Stop and join the animation coroutine.

Details

at line 33
__construct(Closure $render, int $interval)

Create a new prompt animation owner.

Parameters

Closure $render
int $interval

at line 43
void start()

Start the animation coroutine.

Return Value

void

at line 62
Throwable|null stop()

Stop and join the animation coroutine.

Return Value

Throwable|null