Share via


MailboxProcessor.DefaultTimeout<'Msg> Property (F#)

Gets or sets the current default timeout.

Namespace/Module Path: Microsoft.FSharp.Control

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signatures:
member this.DefaultTimeout :  int with get, set

// Usage:
mailboxProcessor.DefaultTimeout
mailboxProcessor.DefaultTimeout <- defaultTimeout

Parameters

  • value
    Type: int

    The timeout, in milliseconds.

Remarks

The MailboxProcessor raises a timeout exception if a message is not received in this amount of time. If this property is not set, no timeout is used.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Control.MailboxProcessor<'Msg> Class (F#)

Microsoft.FSharp.Control Namespace (F#)