Skip to content

Commit 178625d

Browse files
committed
Clarify even more that event loop is needed
1 parent d2e7056 commit 178625d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ sequentially in an async manner.
1616
React/Async will not automagically change blocking code to be async. You need
1717
to have an actual event loop and non-blocking libraries interacting with that
1818
event loop for it to work. You can use `react/event-loop` for this, but you
19-
don't have to. As long as you have a callback-based API, it can be used with
20-
this library.
19+
don't have to. As long as you have a callback-based API that runs in an event
20+
loop, it can be used with this library.
21+
22+
*You must be running inside an event loop for react/async to make any sense
23+
whatsoever!*
2124

2225
## Install
2326

0 commit comments

Comments
 (0)