Table of Contents

Method RequestStop

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

RequestStop()

Requests that the currently running Session stop. The Session will stop after the current iteration completes.

void RequestStop()

Remarks

This will cause Run(IRunnable, Func<Exception, bool>?) to return.

This is equivalent to calling RequestStop(IRunnable?) with TopRunnableView as the parameter.

RequestStop(IRunnable?)

Requests that the specified runnable session stop.

void RequestStop(IRunnable? runnable)

Parameters

runnable IRunnable

The runnable to stop. If null, stops the current TopRunnableView .

Remarks