Table of contents
Collapse the table of content
Expand the table of content

Interactive.IEventLoop Interface (F#)

Den Delimarsky|Last Updated: 8/18/2017
2 Contributors

An event loop used by the currently executing F# Interactive session to execute code in the context of a GUI or another event-based system.

Namespace/Module Path: Microsoft.FSharp.Compiler.Interactive

Assembly: FSharp.Compiler.Interactive.Settings (in FSharp.Compiler.Interactive.Settings.dll)


type IEventLoop =
abstract this.Invoke : (unit -> 'T) -> 'T
abstract this.Run : unit -> bool
abstract this.ScheduleRestart : unit -> unit

Instance Members

InvokeRequests that the given operation be run synchronously on the event loop.
RunRuns the event loop. A return of true indicates that the event loop was restarted.
ScheduleRestartSchedule a restart for the event loop.


Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

See Also

Microsoft.FSharp.Compiler.Interactive Namespace (F#)

© 2020 Microsoft