import time
from .celery_app import celery_app

@celery_app.task(acks_late=True)
def test_celery(word: str) -> str:
    """Example task to verify Celery is working."""
    time.sleep(5)
    return f"test task return {word}"

@celery_app.task
def send_email_task(email_to: str, subject: str, body: str):
    """Example task for async email sending."""
    # This would call the EmailService
    pass
