schulz3000 / deepstreamNet

dotnet Client for deepstream.io
MIT License
38 stars 9 forks source link

Add RecordChanged event to records #38

Closed oriash93 closed 1 year ago

oriash93 commented 5 years ago

fix #36

oriash93 commented 5 years ago

the event can be used as follows:

IDeepStreamRecord record = await records.GetRecordAsync(someRecordId);
record.RecordChanged += OnRecordChanged;

where OnRecordChanged is:

private void OnRecordChanged(dynamic recordData, EventArgs e)
{
    \\ Do something with recordData
}