SHARE
TWEET

Untitled

a guest Mar 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.consumer.request(
  2.     new Protocol.Requests.GetUsers(),
  3.     Protocol.Responses.UsersList
  4. ).then((response: Protocol.Responses.UsersList) => {
  5.     // Success. Response is an instance of UsersList
  6. }).catch((error: Error) => {
  7.     // Fail. Could be a few reasons, include: response is NOT an instance of UsersList
  8. });
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