EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method InvokeVoidSafeAsync

    InvokeVoidSafeAsync(IJSObjectReference, string, params object?[]?)

    Invokes the specified JavaScript function asynchronously with JS exception handling.

    Declaration
    public static ValueTask InvokeVoidSafeAsync(this IJSObjectReference jsObjectReference, string identifier, params object?[]? args)
    Parameters
    Type Name Description
    IJSObjectReference jsObjectReference

    The IJSObjectReference.

    string identifier

    An identifier for the function to invoke. For example, the value "someScope.someFunction" will invoke the function someScope.someFunction on the target instance.

    object[] args

    JSON-serializable arguments.

    Returns
    Type Description
    ValueTask

    A ValueTask that represents the asynchronous invocation operation.

    2025 © Xab3r. All rights reserved.