This repository was archived by the owner on Oct 31, 2021. It is now read-only.

Description
Currently if you have VFPT implement an interface, you get a fully-typed, verbose implementation e.g.
let processor = {
new IEventProcessor with
member __.CloseAsync(context: PartitionContext, reason: CloseReason): System.Threading.Tasks.Task =
failwith "Not implemented yet"
member __.OpenAsync(context: PartitionContext): System.Threading.Tasks.Task =
failwith "Not implemented yet"
member __.ProcessEventsAsync(context: PartitionContext, messages: System.Collections.Generic.IEnumerable<EventData>): System.Threading.Tasks.Task =
failwith "Not implemented yet"
}
I will almost always simplify the above to: -
let processor = {
new IEventProcessor with
member __.CloseAsync(context, reason) = failwith "Not implemented yet"
member __.OpenAsync context = failwith "Not implemented yet"
member __.ProcessEventsAsync(context, messages) = failwith "Not implemented yet"
}
I know that might not be everyone's cup of tea, but an option to have this would be nice. Even a halfway house that didn't use fully-qualified namespaces but added open statements would be good.