-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
125d837
commit ad40efe
Showing
8 changed files
with
125 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Empty file.
Empty file.
This file contains 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,7 @@ | ||
#[Introduction](intro.md) | ||
|
||
#Samples | ||
|
||
## [FSEvents](fsevents_sample.md) | ||
## [FileSystemWatcher](fswatcher.md) | ||
|
This file contains 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,45 @@ | ||
{ | ||
"metadata": [ | ||
{ | ||
"src": [ | ||
{ | ||
"src": "../src", | ||
"files": [ | ||
"**/Marille.csproj" | ||
] | ||
} | ||
], | ||
"dest": "api" | ||
} | ||
], | ||
"build": { | ||
"content": [ | ||
{ | ||
"files": [ | ||
"**/*.{md,yml}" | ||
], | ||
"exclude": [ | ||
"_site/**" | ||
] | ||
} | ||
], | ||
"resource": [ | ||
{ | ||
"files": [ | ||
"images/**" | ||
] | ||
} | ||
], | ||
"output": "_site", | ||
"template": [ | ||
"default", | ||
"modern" | ||
], | ||
"globalMetadata": { | ||
"_appName": "Marille", | ||
"_appTitle": "Marille", | ||
"_enableSearch": true, | ||
"pdf": true | ||
} | ||
} | ||
} |
This file contains 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 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 |
---|---|---|
@@ -1,8 +1,24 @@ | ||
namespace Marille; | ||
|
||
/// <summary> | ||
/// Interface to be implemented by a worker that will take care of handling the errors from IWorker consumers in a | ||
/// give channel. | ||
/// </summary> | ||
/// <typeparam name="T"></typeparam> | ||
public interface IErrorWorker<in T> : IDisposable, IAsyncDisposable where T : struct { | ||
|
||
/// <summary> | ||
/// Specifies if the worker should use a background thread to process the messages. If set to | ||
/// true the implementation of the worker should be thread safe. | ||
/// </summary> | ||
public bool UseBackgroundThread { get; } | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
/// <param name="message"></param> | ||
/// <param name="exception"></param> | ||
/// <param name="token"></param> | ||
/// <returns></returns> | ||
public Task ConsumeAsync (T message, Exception exception, CancellationToken token = default); | ||
} |
This file was deleted.
Oops, something went wrong.