This commit is contained in:
2026-07-15 02:42:16 +03:00
parent be2a24bfd9
commit 3a1b95dbc5
27 changed files with 1767 additions and 197 deletions
@@ -1,5 +1,6 @@
using Esiur.Data.Types;
using Esiur.Protocol;
using Esiur.Resource;
using System;
using System.Collections;
using System.Collections.Generic;
@@ -23,6 +24,8 @@ namespace Esiur.Core
internal StreamMode StreamMode { get; private set; }
internal bool Pausable { get; private set; }
internal IResource Resource { get; private set; }
internal FunctionDef Function { get; private set; }
internal volatile bool Ended;
@@ -75,6 +78,12 @@ namespace Esiur.Core
CallbackId = callbackId;
}
internal void BindOperation(IResource resource, FunctionDef function)
{
Resource = resource;
Function = function;
}
internal void InitializeStream(StreamMode streamMode, bool pausable)
{
StreamMode = streamMode;