Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki authored Jul 22, 2024
1 parent ecd5a5b commit 22b9216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The framework incorporates the concept of groups that bundle together the receiv
## Usage

### Basic Usage
A Group is requested from `IMulticastGroupProvider` by specifying a name. If the Group does not exist, it will be created when it is requested.
A Group is requested from `IMulticastGroupProvider` by specifying a name, key type, and calling interface. If the Group does not exist, it will be created when it is requested.
There are synchronous and asynchronous operation versions of the Group, which can be selected according to the use case and supported functions.

```csharp
Expand All @@ -27,7 +27,7 @@ public class GreeterReceiver(string name) : IGreeterReceiver
var group = groupProvider.GetOrAddSynchronousGroup<Guid, IGreeterReceiver>("MyGroup");
```

You can register a receiver instance that implements the interface for the call to the retrieved Group.
You can register a receiver instance that implements the interface for the call with the key to the retrieved Group.

```csharp
var receiverId = Guid.NewGuid();
Expand Down

0 comments on commit 22b9216

Please sign in to comment.