All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsinterop.base.JsForEachCallbackFn Maven / Gradle / Ivy

Go to download

Base classes and utilities that provide access to JavaScript language constructs that are not available in pure Java. This distribution is slightly modified from the original in order to be compatible with J2CL and, where possible, GWT2 (though this is not heavily tested). The links and references in this pom.xml will reference the Vertispan fork, to ensure that any error introduced by our changes are not incorrectly blamed on the upstream Google repository.

The newest version!
/*
 * Copyright 2016 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 *
 */
package jsinterop.base;

import jsinterop.annotations.JsFunction;

/** Callback function for {@code for-each} iteration. */
@JsFunction
public interface JsForEachCallbackFn {
  void onKey(String key);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy