Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error event to cloud #216

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add error event to cloud
  • Loading branch information
ctacke committed Apr 15, 2024
commit da2c9ad2759a8afebc38fa05f16e8ba576c6737a
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
Loading