Adopt
method in Coherence.Toolkit.CoherenceSync
Methods
public void Adopt(Action<AdoptResult> onAdoptFinished, CancellationToken cancellationToken = default)
Requests authority over an orphaned entity, invoking a callback when the adoption completes.
Parameters
| Type | Name | Description |
|---|---|---|
| Action<AdoptResult> | onAdoptFinished | Callback invoked when the adoption has succeeded, failed, or been canceled. |
| CancellationToken | cancellationToken | Token that can be used to cancel the adoption request. |
See Also
Adopt()
AdoptAsync(CancellationToken)