Skip to content

Commit

Permalink
Add AllowNullLiteral to IReactorListener
Browse files Browse the repository at this point in the history
  • Loading branch information
auduchinok committed Oct 14, 2020
1 parent 7c1ba5e commit 52f0941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fsharp/service/ReactorListener.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace FSharp.Compiler.SourceCodeServices
open System
open System.Diagnostics

[<AllowNullLiteral>]
type public IReactorListener =
abstract OnReactorPauseBeforeBackgroundWork : pauseMillis: int -> unit
abstract OnReactorOperationStart : userOpName: string -> opName: string -> opArg: string -> approxQueueLength: int -> unit
Expand Down
1 change: 1 addition & 0 deletions src/fsharp/service/ReactorListener.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace FSharp.Compiler.SourceCodeServices

open System

[<AllowNullLiteral>]
/// Interface for listening to events on the FCS reactor thread.
type public IReactorListener =
/// Called when the reactor queue is empty, but there is background work to be done.
Expand Down

0 comments on commit 52f0941

Please sign in to comment.