Click or drag to resize

IAsyncMethodInterceptor Interface

Version 94.4.20
Provides the capability intercept async/sync Net method calls made from javascript as part of the JavascriptBinding (JSB) implementation. One example use case is logging method calls. Extends IMethodInterceptor to add async support.

Namespace:  CefSharp.ModelBinding
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public interface IAsyncMethodInterceptor : IMethodInterceptor

The IAsyncMethodInterceptor type exposes the following members.

Methods
  NameDescription
Public methodCode exampleIntercept
Called before the method is invokved. You are now responsible for evaluating the function and returning the result.
(Inherited from IMethodInterceptor.)
Public methodCode exampleInterceptAsync
Top
See Also