SHARE
TWEET

Untitled

a guest Jun 16th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. blobService.doesBlobExist(containerName, blobName, (callbackResult: ErrorOrResult<BlobService.BlobResult>) => {
  2.         //Want callbackResult.response here
  3. });
  4.      
  5. doesBlobExist(container: string, blob: string, callback: ErrorOrResult<BlobService.BlobResult>): void;
  6.      
  7. interface ErrorOrResult<TResult> {
  8.     (error: Error, result: TResult, response: ServiceResponse): void
  9. }
  10.      
  11. blobService.doesBlobExist(containerName, blobName, (error, result, response) => {
  12.         //i.e. specify the 3 items directly in the interface
  13. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top