Asynchronous workflows
Abstract
A system and method for implementing an asynchronous construct in a computer program. A state machine is generated from the computer program, and the program is translated to generate code that executes the state machine during runtime. The asynchronous construct may be made into a function that invokes an asynchronous function, passing the function as a callback, and then exits. When the asynchronous operation completes, the function is invoked as a callback, returning to a configuration equivalent to that prior to the asynchronous call. Variable closure may be used to maintain the state of variables during a state prior to invoking the asynchronous operation and a state after invoking the asynchronous operation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-based method of translating a target computer program to a target program executable code that includes program instructions to perform an asynchronous operation, comprising: a) determining a code fragment that includes an instruction for invoking the asynchronous operation; b) generating a representation of a state machine based on the code fragment and the instruction for invoking the asynchronous operation, the state machine having a first state corresponding to a first portion of the code fragment containing the instruction for invoking the asynchronous operation, and a second s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (5)
- "Encoding Monadic Computations using Iterators in C# 2.0", Retrieved at << http://tomasp.net/academic/papers/monads-supplementary.pdf >>, Retrieved Date: Feb. 25, 2010, p. 1.
- "Encoding Monadic Computations using Iterators in C# 2.0", Retrieved at >, Retrieved Date: Feb. 25, 2010, p. 1.
- "First Office Action and Search Report Issued in Chinese Patent Application No. 201110102138.9", Mailed Date: Nov. 2, 2014, 10 Pages.
- "Introducing F# Asynchronous Workflows", Retrieved at << http://blogs.msdn.com/dsyme/archive/2007/10/11/introducing-f-asynchronous-workflows.aspx >>, Oct. 11, 2007, pp. 12.
- "Introducing F# Asynchronous Workflows", Retrieved at >, Oct. 11, 2007, pp. 12.