Helpers Module
General-purpose utility functions for error handling, timing, and thread control.
Functions and values
| Function or value |
Description
|
||
Unwraps an
All PhysicsClient operations return
Example
val s: obj
val count: obj
|
|||
Full Usage:
sleep arg1
Parameters:
int
|
Pauses the current thread for the specified number of milliseconds.
|
||
Full Usage:
timed arg1 arg2
Parameters:
string
arg1 : unit -> 'a
Returns: 'a
The return value of f.
|
Executes a function, measures its wall-clock duration, and prints the elapsed time to the console.
Output format:
Example
val bodies: obj
Multiple items
val float: value: 'T -> float (requires member op_Explicit) -------------------- type float = System.Double -------------------- type float<'Measure> = float |
PhysicsSandbox