Interface asyncPromise

Index

Methods

Methods

public done(onSuccess?: (result: any) => void, onError?: (error: any) => void)

Parameters

  • onSuccess?: (result: any) => void optional
  • onError?: (error: any) => void optional

public then(onSuccess: (result: any) => any, onError?: (error: any) => any): asyncPromise

Parameters

  • onSuccess: (result: any) => any
  • onError?: (error: any) => any optional

Returns

asyncPromise