FgLoop class

提供在隔离区中循环执行代码的功能

Constructors

FgLoop()
默认构造函数
FgLoop.once(String key, FgLoopCallback callback, [Map<String, dynamic>? params])
创建单例循环的工厂构造函数
factory
FgLoop.run(FgLoopCallback callback, [Map<String, dynamic>? params])
创建并立即启动循环的工厂构造函数
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isRunning bool
获取循环运行状态
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(FgLoopCallback callback, [Map<String, dynamic>? params]) Future<void>
启动循环隔离区
stop() → void
停止循环隔离区
toString() String
A string representation of this object.
inherited

Operators

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