class QueuedTranscriptionResponse mixin PendingDispatch

Traits

Methods

then(Closure $callback)

Add a callback to be executed after the agent is invoked.

catch(Closure $callback)

Add a callback to be executed if the agent fails.

__construct(PendingDispatch $dispatchable)

Create a queued transcription response.

mixed
__call(string $method, array $arguments)

Proxy missing method calls to the pending dispatch instance.

Details

HasQueuedResponseCallbacks then(Closure $callback)

Add a callback to be executed after the agent is invoked.

Parameters

Closure $callback

Return Value

HasQueuedResponseCallbacks

HasQueuedResponseCallbacks catch(Closure $callback)

Add a callback to be executed if the agent fails.

Parameters

Closure $callback

Return Value

HasQueuedResponseCallbacks

at line 20
__construct(PendingDispatch $dispatchable)

Create a queued transcription response.

Parameters

PendingDispatch $dispatchable

at line 27
mixed __call(string $method, array $arguments)

Proxy missing method calls to the pending dispatch instance.

Parameters

string $method
array $arguments

Return Value

mixed