TaskManager refactoring
This commit is contained in:
@@ -81,8 +81,6 @@ type
|
||||
class function All(const States: TArray<TState>): TState; static;
|
||||
class function Any(const States: TArray<TState>): TState; static;
|
||||
|
||||
function Subscribe(Subscriber: TSignal.ISubscriber): TSignal.TSubscription; inline;
|
||||
|
||||
class property Null: IState read FNull;
|
||||
|
||||
property IsSet: Boolean read GetIsSet;
|
||||
@@ -281,11 +279,6 @@ begin
|
||||
Result := FState.IsSet;
|
||||
end;
|
||||
|
||||
function TState.Subscribe(Subscriber: TSignal.ISubscriber): TSignal.TSubscription;
|
||||
begin
|
||||
Result := Signal.Subscribe(Subscriber);
|
||||
end;
|
||||
|
||||
class operator TState.Implicit(const A: TState): IState;
|
||||
begin
|
||||
Result := A.FState;
|
||||
|
||||
Reference in New Issue
Block a user