-
Notifications
You must be signed in to change notification settings - Fork 20
feat: add support for eventing #166
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
Merged
Merged
Changes from 29 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c81376d
added event executor with support for api level events
bacherfl 70031cb
wire up api level event handling
bacherfl 073a313
client level events
bacherfl 7fc79d4
client level events: wiring up and added first unit test
bacherfl 8a88fed
client level events: wiring up and added first unit test
bacherfl 5e9eb59
added locks, added unit tests
bacherfl 0f5a4a8
added xmldoc comments
bacherfl 8f40909
fixed more tests
bacherfl 9ac736a
fixed formatting
bacherfl 2640c22
fixed formatting
bacherfl d999ea3
fix warnings, clean up debugging logs
bacherfl 6c9e26a
added sleep to give time for event to be received
bacherfl 2541880
additional tests
bacherfl dc27b0c
use WriteAsync to write to channel
bacherfl 6836250
await WriteAsync
bacherfl e4aa68e
additional tests
bacherfl 2f05f0b
added event handling section in readme
bacherfl 4c28144
added event handling section in readme
bacherfl 2e1b27f
updated feature table
bacherfl 1b69d84
incorporated feedback from PR review
bacherfl fca794d
fix formatting
bacherfl 2615ac2
fixed null pointer exception
bacherfl 0f419cf
increase timout for unit tests
bacherfl c30345a
fix unit tests, add additional test cases
bacherfl ef289d3
set shutdown delegate to noop in unit tests
bacherfl 317c2db
fix formatting
bacherfl 4f1cec8
use Debug class to log exceptions
bacherfl 672fa32
adapted to pr review
bacherfl d5270d4
fixed formatting
bacherfl 8ef38a8
move channels package reference to Common.props
bacherfl 2494599
give more time to receive event
bacherfl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace OpenFeature.Constant | ||
{ | ||
/// <summary> | ||
/// The ProviderEventTypes enum represents the available event types of a provider. | ||
/// </summary> | ||
public enum ProviderEventTypes | ||
{ | ||
/// <summary> | ||
/// ProviderReady should be emitted by a provider upon completing its initialisation. | ||
/// </summary> | ||
ProviderReady, | ||
/// <summary> | ||
/// ProviderError should be emitted by a provider upon encountering an error. | ||
/// </summary> | ||
ProviderError, | ||
/// <summary> | ||
/// ProviderConfigurationChanged should be emitted by a provider when a flag configuration has been changed. | ||
/// </summary> | ||
ProviderConfigurationChanged, | ||
/// <summary> | ||
/// ProviderStale should be emitted by a provider when it goes into the stale state. | ||
/// </summary> | ||
ProviderStale | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.