Table of Contents

Interface ILifecycle

Namespace
Steeltoe.Common.Lifecycle
Assembly
Steeltoe.Common.Abstractions.dll

A common interface defining methods for start/stop lifecycle control

public interface ILifecycle

Properties

IsRunning

Gets a value indicating whether gets a value indicating if its running

bool IsRunning { get; }

Property Value

bool

Methods

Start()

Start this component

Task Start()

Returns

Task

a task to signal completion

Stop()

Stop this component

Task Stop()

Returns

Task

a task to signal completion