// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Threading.Tasks;
namespace CefSharp
{
public interface IJavascriptCallback : IDisposable
{
///
/// Callback Id
///
Int64 Id { get; }
Task ExecuteAsync(params object[] parms);
///
/// Check to see if the underlying resource are still available to execute the callback
///
bool CanExecute { get; }
///
/// Gets a value indicating whether the callback has been disposed of.
///
bool IsDisposed { get; }
}
}