Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
0ccd0c23
Commit
0ccd0c23
authored
Mar 12, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: IRedisAsync
parent
dfa0bfe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
IRedisAsync.cs
...hange.Redis/StackExchange/Redis/Interfaces/IRedisAsync.cs
+6
-0
No files found.
StackExchange.Redis/StackExchange/Redis/Interfaces/IRedisAsync.cs
View file @
0ccd0c23
...
@@ -16,6 +16,7 @@ public partial interface IRedisAsync
...
@@ -16,6 +16,7 @@ public partial interface IRedisAsync
/// <summary>
/// <summary>
/// This command is often used to test if a connection is still alive, or to measure latency.
/// This command is often used to test if a connection is still alive, or to measure latency.
/// </summary>
/// </summary>
/// <param name="flags">The command flags to use.</param>
/// <returns>The observed latency.</returns>
/// <returns>The observed latency.</returns>
/// <remarks>https://redis.io/commands/ping</remarks>
/// <remarks>https://redis.io/commands/ping</remarks>
Task
<
TimeSpan
>
PingAsync
(
CommandFlags
flags
=
CommandFlags
.
None
);
Task
<
TimeSpan
>
PingAsync
(
CommandFlags
flags
=
CommandFlags
.
None
);
...
@@ -23,21 +24,26 @@ public partial interface IRedisAsync
...
@@ -23,21 +24,26 @@ public partial interface IRedisAsync
/// <summary>
/// <summary>
/// Wait for a given asynchronous operation to complete (or timeout), reporting which
/// Wait for a given asynchronous operation to complete (or timeout), reporting which
/// </summary>
/// </summary>
/// <param name="task">The task to wait on.</param>
bool
TryWait
(
Task
task
);
bool
TryWait
(
Task
task
);
/// <summary>
/// <summary>
/// Wait for a given asynchronous operation to complete (or timeout)
/// Wait for a given asynchronous operation to complete (or timeout)
/// </summary>
/// </summary>
/// <param name="task">The task to wait on.</param>
void
Wait
(
Task
task
);
void
Wait
(
Task
task
);
/// <summary>
/// <summary>
/// Wait for a given asynchronous operation to complete (or timeout)
/// Wait for a given asynchronous operation to complete (or timeout)
/// </summary>
/// </summary>
/// <typeparam name="T">The type of task to wait on.</typeparam>
/// <param name="task">The task to wait on.</param>
T
Wait
<
T
>(
Task
<
T
>
task
);
T
Wait
<
T
>(
Task
<
T
>
task
);
/// <summary>
/// <summary>
/// Wait for the given asynchronous operations to complete (or timeout)
/// Wait for the given asynchronous operations to complete (or timeout)
/// </summary>
/// </summary>
/// <param name="tasks">The tasks to wait on.</param>
void
WaitAll
(
params
Task
[]
tasks
);
void
WaitAll
(
params
Task
[]
tasks
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment