trait HasQueuedResponseCallbacks

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.

Details

at line 14
HasQueuedResponseCallbacks then(Closure $callback)

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

Parameters

Closure $callback

Return Value

HasQueuedResponseCallbacks

at line 24
HasQueuedResponseCallbacks catch(Closure $callback)

Add a callback to be executed if the agent fails.

Parameters

Closure $callback

Return Value

HasQueuedResponseCallbacks