transloadit / php-sdk

Transloadit's official PHP SDK

Home Page:https://transloadit.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement "waitForCompletion" parameter for the createAssembly function

tim-kos opened this issue · comments

From the node-sdk:

waitForCompletion - A boolean (default is false) to indicate whether you want to wait for the Assembly to finish with all encoding results present before the callback is called. If waitForCompletion is true, this SDK will poll for status updates and call doneCb when all encoding work is done. During each polling action, progressCb(ret) is called with the current Assembly Status in assemblyProgress inside a result object as its only argument.

This needs to be implemented here.