ComputeEntrypoint<I> class

Inheritance

Constructors

ComputeEntrypoint(WorkerEntrypoint<I> entry, {PayloadCallback? onInit, Object? initData})

Properties

entry WorkerEntrypoint<I>
The entry function must be a top-level function or a static method that can be called with a single argument, that is, a compile-time constant function value which accepts at least one positional parameter and has at most one required positional parameter. The function may accept any number of optional parameters, as long as it can be called with just a single argument. The function must not be the value of a function expression or an instance method tear-off.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initData Object?
finalinherited
onInit PayloadCallback?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(SendPort sendport) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited