-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIApplicationStartup.cs
More file actions
27 lines (25 loc) · 952 Bytes
/
IApplicationStartup.cs
File metadata and controls
27 lines (25 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Reactive;
using System.Reactive.Concurrency;
namespace Rocket.Surgery.Airframe
{
/// <summary>
/// Interface representing that application startup sequence.
/// </summary>
public interface IApplicationStartup
{
/// <summary>
/// Starts the application life cycle.
/// </summary>
/// <param name="concurrentOperations">The maximum concurrent operations. </param>
/// <returns>A completion notification.</returns>
IObservable<Unit> Startup(int concurrentOperations);
/// <summary>
/// Starts the application life cycle.
/// </summary>
/// <param name="concurrentOperations">The maximum concurrent operations. </param>
/// <param name="scheduler">The scheduler.</param>
/// <returns>A completion notification.</returns>
IObservable<Unit> Startup(int concurrentOperations, IScheduler scheduler);
}
}