Repository navigation
3.16.0
PHP SDK 3.16.0 pauses, resumes and reads activity dispatch on a task queue (native Server 3.8.0).
Added
Client::pauseTaskQueueActivityDispatch(),Client::resumeTaskQueueActivityDispatch()andClient::describeTaskQueueActivityDispatch()(#395, server#577, waterline#299) pause, resume and read activity dispatch on one task queue of the client's namespace. They return the Server's answer, withoutcomepaused,already_paused,resumedornot_pausedand theactivity_dispatchstate. Pause and resume are sent once and never retried; if an answer is lost, read the state.ClusterInfo::supportsTaskQueueActivityDispatchPause()reads thetask_queue_activity_dispatch_pausecapability.- A Server without the routes (published PHP Server 2.x, or native before 3.8.0) answers 404, which is raised as the new
DurableWorkflow\Exception\ServerCapabilityUnavailable(aServerExceptionwith status 501 and reasonbackend_capability_unavailable). Other refusals, such as 403 for a worker credential or 422 for an invalid reason, stayServerExceptionwith the Server's status, reason and details.
Everything else behaves as in 3.15.0.