Skip to content

Commit 8468563

Browse files
Update README.md
1 parent ca09e55 commit 8468563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 2637-promise-time-limit/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h2><a href="https://leetcode.com/problems/promise-time-limit/">2637. Promise Time Limit</a></h2><h3>Easy</h3><hr><div><p>Given an&nbsp;asyncronous function&nbsp;<code>fn</code>&nbsp;and a time <code>t</code>&nbsp;in milliseconds, return&nbsp;a new&nbsp;<strong>time limited</strong>&nbsp;version of the input function.</p>
1+
<h2><a href="https://leetcode.com/problems/promise-time-limit/">2637. Promise Time Limit</a></h2><img src="https://img.shields.io/badge/Easy-brightgreen" alt="Easy" /><hr><div><p>Given an&nbsp;asyncronous function&nbsp;<code>fn</code>&nbsp;and a time <code>t</code>&nbsp;in milliseconds, return&nbsp;a new&nbsp;<strong>time limited</strong>&nbsp;version of the input function.</p>
22

33
<p>A&nbsp;<strong>time limited</strong>&nbsp;function is a function that is identical to the original unless it takes longer than&nbsp;<code>t</code>&nbsp;milliseconds to fullfill. In that case, it will reject with&nbsp;<code>"Time Limit Exceeded"</code>.&nbsp; Note that it should reject with a string, not an&nbsp;<code>Error</code>.</p>
44

0 commit comments

Comments
 (0)