Package-level declarations
Types
Link copied to clipboard
A callback for receiving status updates from a queue subscription.
Link copied to clipboard
interface QueueClient
A Kotlin queue client for interacting with the fal queue APIs.
Link copied to clipboard
A data class that represents the output of a request.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
inline suspend fun <Output : Any> QueueClient.result(endpointId: String, requestId: String): RequestOutput<Output>
inline suspend fun QueueClient.result(endpointId: String, requestId: String): RequestOutput<JsonObject>
Link copied to clipboard
inline suspend fun <Output : Any> FalClient.run(endpointId: String, input: Any, options: RunOptions = RunOptions()): RequestOutput<Output>
suspend fun FalClient.run(endpointId: String, input: Any, options: RunOptions = RunOptions()): RequestOutput<JsonObject>
Link copied to clipboard
inline suspend fun <Output : Any> FalClient.subscribe(endpointId: String, input: Any, options: SubscribeOptions = SubscribeOptions(), noinline onUpdate: OnStatusUpdate? = null): RequestOutput<Output>
inline suspend fun FalClient.subscribe(endpointId: String, input: Any, options: SubscribeOptions = SubscribeOptions(), noinline onUpdate: OnStatusUpdate? = null): RequestOutput<JsonObject>