File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,10 @@ function timeDate(p5, fn){
117
117
*
118
118
* If a sketch has a
119
119
* <a href="#/p5/setup">setup()</a> function, then `millis()` begins tracking
120
- * time before the code in <a href="#/p5/setup">setup()</a> runs. If a
121
- * sketch includes a <a href="#/p5/preload">preload()</a> function, then
122
- * `millis()` begins tracking time as soon as the code in
123
- * <a href="#/p5/preload">preload()</a> starts running.
124
- *
120
+ * time before the code in <a href="#/p5/setup">setup()</a> runs. If a
121
+ * sketch includes asynchronous loading using `async`/`await`, then
122
+ * `millis()` begins tracking time as soon as the asynchronous code
123
+ * starts running.
125
124
* @method millis
126
125
* @return {Number } number of milliseconds since starting the sketch.
127
126
*
You can’t perform that action at this time.
0 commit comments