On Mon, May 9, 2016 at 8:27 PM, Ian Boston <[email protected]> wrote:
> I thought the consumers of this api want things like the absolute path of
> the File in the BlobStore, or the bucket and key of the S3 Object, so that
> they could transmit it and use it for processing independently of Oak
> outside the callback ?
>
Most cases can still be done, just do it within the callback
blobStore.process("xxx", new BlobProcessor(){
void process(AdaptableBlob blob){
File file = blob.adaptTo(File.class);
transformImage(file);
}
});
Doing this within callback would allow Oak to enforce some safeguards (more
on that in next mail) and still allows the user to perform optimal binary
processing
Chetan Mehrotra