callback

abstract var callback: (StreamObject?) -> Unit?

Optional callback that will be executed on successful completion of the S3 operation.

This callback will be passed an StreamObject request wrapping a stream over the contents of the target object if that object exists. If the target object does not exist, this callback will be passed a null value.