diff --git a/src/ElectronNET.API/API/Screen.cs b/src/ElectronNET.API/API/Screen.cs index 5c81e583..613531e4 100644 --- a/src/ElectronNET.API/API/Screen.cs +++ b/src/ElectronNET.API/API/Screen.cs @@ -124,6 +124,15 @@ internal static Screen Instance /// An array of displays that are currently available. public Task GetAllDisplaysAsync() => this.InvokeAsync(); + /// + /// An array of displays that are currently available. + /// + /// The invocation timeout. + /// + /// An array of displays that are currently available. + /// + public Task GetAllDisplaysAsync(TimeSpan invocationTimeout) => this.InvokeAsyncWithTimeout(invocationTimeout); + /// /// The display nearest the specified point. ///