Interface ITodoQueue
Sends todos to the queue on the remote host
Namespace: Azos.Sky.Contracts
Assembly: Azos.Sky.dll
Syntax
[Glued]
[LifeCycle(ServerInstanceMode.Singleton)]
public interface ITodoQueue : ISkyService
Methods
Enqueue(TodoFrame[])
Enqueues todos in the order. Returns the maximum size of the next call to Enqueue() which reflects the ability of the remote queue to enqueue more work. This may be used for dynamic flow control. Calling this method with empty or null array just returns the status
Declaration
int Enqueue(TodoFrame[] todos)
Parameters
Type | Name | Description |
---|---|---|
TodoFrame[] | todos |
Returns
Type | Description |
---|---|
System.Int32 |