You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: topics/flow.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,7 @@ try {
93
93
alert( e);
94
94
}
95
95
```
96
+
97
+
---
98
+
Create `promisify` function which takes node-style (error-first) function and converts it into promise-based function.
99
+
Instead of calling callback with error, data it return promise which resolves/rejectes. It worth to check if function save context for original function (`this`)
0 commit comments