Share via


IEventLoop.Invoke<'T> Method (F#)

Request that the given operation be run synchronously on the event loop.

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

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

// Signature:
abstract this.Invoke : (unit -> 'T) -> 'T

// Usage:
iEventLoop.Invoke (func)

Parameters

  • func
    Type: unit -> 'T

    A function to run on the event loop.

Platforms

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

Silverlight

Supported in: 3

See Also

Reference

Interactive.IEventLoop Interface (F#)

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