SHARE
TWEET

Untitled

a guest Sep 20th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Dashboard {
  2.  
  3.   @refreshable({
  4.     func: getCountroies,
  5.     intervalMs: 1000 * 60 * 60
  6.   })
  7.   countries: Countrie[];
  8. }
  9.    
  10. function getCountroies(e: Error): Promise<Countrie[]> {
  11.   // some code
  12. }
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