Interface IScrollEngine
Engine for scrolling.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
Type Parameters
| Name | Description |
|---|---|
| T | The type of the scroll engine. |
Methods
ContinueScrollAsync(string, TimeSpan, IQueryLoadConfiguration, long)
Continues scrolling though an existing scroll.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | scrollId | Id of the scroll. |
| TimeSpan | scrollTime | The time to keep the scroll alive between requests. |
| IQueryLoadConfiguration | loadConfiguration | The load configuration. |
| long | offset | The current offset. |
Returns
| Type | Description |
|---|---|
| Task<> | The scroll result. |
StartScrollAsync(Query, IQueryLoadConfiguration)
Does the initial setup of the scroll and returns the first batch.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Query | query | The query used for scrolling. |
| IQueryLoadConfiguration | queryLoadConfiguration | The load configuration. |
Returns
| Type | Description |
|---|---|
| Task<> | The scroll result. |
If you have suggestions for improving this article, let us know!