For this example i have used Angular ngIdle directive. myApp. ... return new Promise((resolve, reject) That being said, look into the RxJS timeout operator.
確定! 回上一頁