Logo
Explore Help
Register Sign In
yujunjun/datahub
2
0
Fork 0
You've already forked datahub
mirror of https://github.com/datahub-project/datahub.git synced 2025-07-18 06:41:25 +00:00
Code Issues Packages Projects Releases Wiki Activity
datahub/wherehows-web/app/utils/promise-delay.ts

8 lines
263 B
TypeScript
Raw Normal View History

updates compliance notifications. implements toasts for notifications service. fixes issue with data upload: does not automatically save on upload. adds object to type def for security classification since field can be null. adds utility for promise based delay
2017-08-30 10:26:44 -07:00
/**
* Waits a given number of seconds before resolving
* @param {number} seconds the duration to wait for
* @return {Promise<void>}
*/
export const delay = (seconds: number = 5): Promise<void> =>
refactors login flow. adds profile avatar. updates dependencies refactors comments feature: initial get comments and create comment updates tsconfig to support es2017 object prototype methods: values, entries, creates user-avatar component, adds styles, converts constants files to ts updates comment editor. updates styling. adds auto focus on click adds comment deletion adds confirmation dialog for comment deletion adds string union generic constraint type. adds comment stream header. adds comment update feature. adds style modifications and additions for comment components. refactors actions for comments using strategy pattern to allow for abstraction. adds dataset-constants constants module
2017-09-10 19:31:54 -07:00
new Promise(resolve => setTimeout(resolve, seconds * 1000));
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 190ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API