You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the global keyword it is stripped out by fantoms.
Consider:
namespace global
type Startup() =
let addSeven v = v + 7
member x.Invoke(input:obj) =
let v = input :?> int
async.Return (addSeven v :> obj) |> Async.StartAsTask
becomes:
namespace
type Startup() =
let addSeven v = v + 7
member x.Invoke(input : obj) =
let v = input :?> int
async.Return(addSeven v :> obj) |> Async.StartAsTask
The text was updated successfully, but these errors were encountered:
If you use the global keyword it is stripped out by fantoms.
Consider:
becomes:
The text was updated successfully, but these errors were encountered: