Markus 5ce932ceb7 Work on #213
- properly categorize all patterns
- remove pattern list from readme
- minor fixes to readme
- removed "introduction" because its not a pattern and an error i
committed some time ago
2015-08-20 21:40:07 +02:00

769 B

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Callback callback /patterns/callback/ Other Java

Intent: Callback is a piece of executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at some convenient time.

alt text

Applicability: Use the Callback pattern when

  • when some arbitrary synchronous or asynchronous action must be performed after execution of some defined activity.

Real world examples: