GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • License
  • Release Notes
  • Source Repository
  • API Reference
  • Collections
  • Control
  • Core
  • Linq
  • NativeInterop
  • Quotations
  • Reflection
  • FSharp.Core

This view

  • Original page
  • New address

GeezerVison is showing fsharp.github.io — TaskBuilder (FSharp.Core)

TaskBuilder Module

Namespace: FSharp.Control
Assembly: FSharp.Core.dll

Contains the `task` computation expression builder.

Functions and values

Function or value Description

backgroundTask

Full Usage: backgroundTask

Returns: BackgroundTaskBuilder

Builds a task using computation expression syntax which switches to execute on a background thread if not already doing so.

If the task is created on a foreground thread (where SynchronizationContext.Current is non-null) its body is executed on a background thread using Task.Run. If created on a background thread (where SynchronizationContext.Current is null) it is executed immediately on that thread.

Returns: BackgroundTaskBuilder

task

Full Usage: task

Returns: TaskBuilder

Builds a task using computation expression syntax.

Returns: TaskBuilder
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.