Skip to content

Commit

Permalink
Merge pull request #216 from WildernessLabs/feature/cloud-error
Browse files Browse the repository at this point in the history
Add error event to cloud
  • Loading branch information
ctacke authored Apr 15, 2024
2 parents 9ed4dc2 + da2c9ad commit d8d6001
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Source/Meadow.Contracts/Cloud/IMeadowCloudService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ namespace Meadow.Cloud;
/// </summary>
public interface IMeadowCloudService
{
/// <summary>
/// Event raised when an error in communicating with Meadow Cloud occurrs
/// </summary>
event EventHandler<Exception>? ErrorOccurred;

/// <summary>
/// Event raised when the cloud connection state changes
/// </summary>
event EventHandler<CloudConnectionState> ConnectionStateChanged;
event EventHandler<CloudConnectionState>? ConnectionStateChanged;

/// <summary>
/// Gets the current connection state for the service
Expand Down

0 comments on commit d8d6001

Please sign in to comment.