Dela via


INodeServices Interface

Definition

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Represents the ability to invoke code in a Node.js environment. Although the underlying Node.js instance might change over time (e.g., the process might be restarted), the INodeServices instance will remain constant.

public interface class INodeServices : IDisposable
public interface INodeServices : IDisposable
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public interface INodeServices : IDisposable
type INodeServices = interface
    interface IDisposable
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type INodeServices = interface
    interface IDisposable
Public Interface INodeServices
Implements IDisposable
Attributes
Implements

Methods

InvokeAsync<T>(CancellationToken, String, Object[])

Asynchronously invokes code in the Node.js instance.

InvokeAsync<T>(String, Object[])

Asynchronously invokes code in the Node.js instance.

InvokeExportAsync<T>(CancellationToken, String, String, Object[])

Asynchronously invokes code in the Node.js instance.

InvokeExportAsync<T>(String, String, Object[])

Asynchronously invokes code in the Node.js instance.

Applies to