Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Dashboard {
- @refreshable({
- func: getCountroies,
- intervalMs: 1000 * 60 * 60
- })
- countries: Countrie[];
- }
- function getCountroies(e: Error): Promise<Countrie[]> {
- // some code
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement