File tree 1 file changed +2
-6
lines changed 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -293,15 +293,11 @@ class Isolate {
293
293
/// The entry-point function is invoked in the new isolate with [message]
294
294
/// as the only argument.
295
295
///
296
- /// The function must be a top-level function or a static method
297
- /// that can be called with a single argument,
298
- /// that is, a compile-time constant function value
299
- /// which accepts at least one positional parameter
296
+ /// The function must be such that it can be called with a single argument,
297
+ /// that is, a function which accepts at least one positional parameter
300
298
/// and has at most one required positional parameter.
301
299
/// The function may accept any number of optional parameters,
302
300
/// as long as it *can* be called with just a single argument.
303
- /// The function must not be the value of a function expression
304
- /// or an instance method tear-off.
305
301
///
306
302
/// Usually the initial [message] contains a [SendPort] so
307
303
/// that the spawner and spawnee can communicate with each other.
You can’t perform that action at this time.
0 commit comments