Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/react
/ then
Function
then
packages/scheduler/src/__tests__/SchedulerPostTask-test.js:106–111 ·
view source on GitHub ↗
(cb)
Source
from the content-addressed store, hash-verified
104
105
return
{
106
then(cb) {
107
callback = cb;
108
return
new
Promise((resolve, reject) => {
109
taskQueue.set(controller, {id, callback, resolve, reject});
110
});
111
},
112
};
113
};
114
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected