DataStream updated
This commit is contained in:
@@ -7,16 +7,18 @@ uses
|
||||
Myc.Mutable,
|
||||
Myc.Data.Series;
|
||||
|
||||
{$M+}
|
||||
|
||||
type
|
||||
TTag = Pointer;
|
||||
|
||||
// A generic interface for components that consume data of type T.
|
||||
IConsumer<T> = interface(IInvokable)
|
||||
IConsumer<T> = interface
|
||||
function Consume(const Value: T): TState;
|
||||
end;
|
||||
|
||||
// A producer generates data and distributes it to linked consumers.
|
||||
IProducer<T> = interface(IInvokable)
|
||||
IProducer<T> = interface
|
||||
function Link(const Consumer: IConsumer<T>): TTag;
|
||||
procedure Unlink(Tag: TTag);
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user