Skip to content

Commit bb9af71

Browse files
committed
Add source code links to queues documentation
- Add GitHub links to IQueue interface - Add links to all queue implementations: - InMemoryQueue - RedisQueue - AzureServiceBusQueue - AzureStorageQueue - SQSQueue - Improves documentation discoverability
1 parent 8f6d37c commit bb9af71

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/guide/queues.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Queues offer First In, First Out (FIFO) message delivery with reliable processin
44

55
## The IQueue Interface
66

7+
[View source](https://github.com/FoundatioFx/Foundatio/blob/main/src/Foundatio/Queues/IQueue.cs)
8+
79
```csharp
810
public interface IQueue<T> : IQueue where T : class
911
{
@@ -41,6 +43,8 @@ public interface IQueue : IHaveSerializer, IDisposable
4143

4244
An in-memory queue implementation for development and testing:
4345

46+
[View source](https://github.com/FoundatioFx/Foundatio/blob/main/src/Foundatio/Queues/InMemoryQueue.cs)
47+
4448
```csharp
4549
using Foundatio.Queues;
4650

@@ -59,6 +63,8 @@ await entry.CompleteAsync();
5963

6064
Distributed queue using Redis (separate package):
6165

66+
[View source](https://github.com/FoundatioFx/Foundatio.Redis/blob/main/src/Foundatio.Redis/Queues/RedisQueue.cs)
67+
6268
```csharp
6369
// dotnet add package Foundatio.Redis
6470
@@ -75,6 +81,8 @@ var queue = new RedisQueue<WorkItem>(o => {
7581

7682
Queue using Azure Service Bus (separate package):
7783

84+
[View source](https://github.com/FoundatioFx/Foundatio.AzureServiceBus/blob/main/src/Foundatio.AzureServiceBus/Queues/AzureServiceBusQueue.cs)
85+
7886
```csharp
7987
// dotnet add package Foundatio.AzureServiceBus
8088
@@ -90,6 +98,8 @@ var queue = new AzureServiceBusQueue<WorkItem>(o => {
9098

9199
Queue using Azure Storage Queues (separate package):
92100

101+
[View source](https://github.com/FoundatioFx/Foundatio.AzureStorage/blob/main/src/Foundatio.AzureStorage/Queues/AzureStorageQueue.cs)
102+
93103
```csharp
94104
// dotnet add package Foundatio.AzureStorage
95105
@@ -105,6 +115,8 @@ var queue = new AzureStorageQueue<WorkItem>(o => {
105115

106116
Queue using AWS SQS (separate package):
107117

118+
[View source](https://github.com/FoundatioFx/Foundatio.AWS/blob/main/src/Foundatio.AWS/Queues/SQSQueue.cs)
119+
108120
```csharp
109121
// dotnet add package Foundatio.AWS
110122

0 commit comments

Comments
 (0)