In a small bowl, whisk together the eggs and cornstarch until smooth.
Slowly drizzle the egg mixture into the boiling broth while stirring constantly with a fork or chopsticks. Continue stirring until the eggs are cooked and form ribbons.
Season with soy sauce and sugar, if desired.
Garnish with chopped green onions and black pepper. Serve immediately.