DataStream updated

This commit is contained in:
Michael Schimmel
2026-01-21 14:09:26 +01:00
parent ceb6f13833
commit ef4583c2ae
9 changed files with 198 additions and 1280 deletions
+4 -2
View File
@@ -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;