In the UI, We can pause-edit-resume a function.
On the CLI, We could pause-import-resume a function.
However, "import" seems to overwrite a function and lose its place in the source bucket. This would forces to "resume-from-now" and miss some data or go back to the vert beginning.
another issue we are having is not knowing then the eventing function has completed its action. Since the commands seem to be asynchronous, we cannot script the commands
The import fails, since we don't know when the function is deleted. We need something like a --wait flag, which would make the execution synchronous.
|For Gerrit Dashboard: MB-40301
|MB-40301: Add /appcode endpoint to retrieve/update function code
|MB-45360: Add /appcode endpoint to retrieve/update function code