Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
FeedOptions.cs
Go to the documentation of this file.
1using Fauna.Types;
2
3namespace Fauna.Core;
4
9{
16 public FeedOptions(string cursor, int? pageSize = null)
17 {
18 Cursor = cursor;
19 PageSize = pageSize;
20 }
21
28 public FeedOptions(long startTs, int? pageSize = null)
29 {
30 StartTs = startTs;
31 PageSize = pageSize;
32 }
33
38 public FeedOptions(int pageSize)
39 {
40 PageSize = pageSize;
41 }
42}
Represents the options when subscribing to Fauna Event Feeds.
Definition FeedOptions.cs:9
FeedOptions(string cursor, int? pageSize=null)
Initializes a new instance of the FeedOptions class with the specified cursor and optional page size.
FeedOptions(long startTs, int? pageSize=null)
Initializes a new instance of the FeedOptions class with the specified start timestamp and optional p...
FeedOptions(int pageSize)
Initializes a new instance of the FeedOptions class with the specified page size.
Represents the options for a Fauna EventSource.
string? Cursor
Cursor returned from Fauna.
long? StartTs
Start timestamp returned for the feed. Used to resume the Feed.
int? PageSize
Limit page size for the Feed.