In C# Xamarin iOS I can do this:
InvokeOnMainThread( () => { //do stuff here});
where the argument for InvokeOnMainThread is NSAction
In F# I have
InvokeOnMainThread ( fun _ -> //do stuff here)
but I am getting the error "this expression was expected to have type EventHandler but here has type unit". Why? How can I work around this?