Function createSupaworkerClient

  • Create a Supaworker client and enqueuing function.

    Type Parameters

    • Payload

    Parameters

    Returns {
        client: SupabaseClient<Database, "supaworker">;
        enqueue: EnqueueFunction<Payload>;
    }

    A supabase client and a function to enqueue jobs.