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

io.github.graphglue.model.property.LazyLoadingDelegate.kt Maven / Gradle / Ivy

Go to download

A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies

The newest version!
package io.github.graphglue.model.property

import io.github.graphglue.model.Node

/**
 * Delegate which can be called to get the loaded property
 *
 * @param T the type of Node stored in this property
 * @param R the type of property
 */
interface LazyLoadingDelegate {
    /**
     * Gets the loaded property
     *
     * @param cache used to load nodes from, if provided, not loading deleted nodes
     */
    suspend operator fun invoke(cache: NodeCache? = null): R
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy