Skip to content

Commit a02e683

Browse files
committed
fix!: remove process manager
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent bb29716 commit a02e683

64 files changed

Lines changed: 10 additions & 5940 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎guides/explanations/process-managers.md‎

Lines changed: 0 additions & 226 deletions
This file was deleted.

‎lib/application.ex‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ defmodule Commanded.Application do
115115
own separately configured and isolated event store. Each application must be
116116
started with a unique name.
117117
118-
Multiple instances of the same event handler or process manager can be
118+
Multiple instances of the same event handler can be
119119
started by referring to a started application by its name. The event store
120120
operations can also be scoped to an application by referring to its name.
121121
@@ -320,9 +320,9 @@ defmodule Commanded.Application do
320320
- `:eventual` (default) - a successful command dispatch will return immediately.
321321
322322
- `:strong` - a successful command dispatch will block until all strongly
323-
consistent event handlers and process managers have handled all events created by the command.
323+
consistent event handlers have handled all events created by the command.
324324
325-
- An explicit list of event handler and process manager modules (or their configured names),
325+
- An explicit list of event handler modules (or their configured names),
326326
containing only those handlers you'd like to wait for. No other handlers will be awaited on,
327327
regardless of their own configured consistency setting.
328328
e.g. `[ExampleHandler, AnotherHandler]` or `["ExampleHandler", "AnotherHandler"]`

‎lib/commanded.ex‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ defmodule Commanded do
88
- [Command registration and dispatch](commands.html).
99
- [Hosting and delegation to aggregates](aggregates.html).
1010
- [Event handling](events.html).
11-
- [Long running process managers](process-managers.html).
1211
1312
Use Commanded with one of the following event stores for persistence:
1413

‎lib/commanded/commands/router.ex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,15 @@ defmodule Commanded.Commands.Router do
113113
:ok = BankApp.dispatch(command, consistency: :eventual)
114114
115115
- `:strong` - block command dispatch until all strongly
116-
consistent event handlers and process managers have successfully processed
116+
consistent event handlers have successfully processed
117117
all events created by the command.
118118
119119
Use this when you have event handlers that update read models you need to
120120
query immediately after dispatching the command.
121121
122122
:ok = BankApp.dispatch(command, consistency: :strong)
123123
124-
- Provide an explicit list of event handler and process manager modules (or
124+
- Provide an explicit list of event handler modules (or
125125
their configured names), containing only those handlers you'd like to wait
126126
for. No other handlers will be awaited on, regardless of their own
127127
configured consistency setting.

‎lib/commanded/event/handler.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ defmodule Commanded.Event.Handler do
131131
## Event handler name
132132
133133
The name you specify is used when subscribing to the event store. You must use
134-
a unique name for each event handler and process manager you start. Also, you
134+
a unique name for each event handler you start. Also, you
135135
*should not* change the name once the handler has been deployed. A new
136136
subscription will be created if you change the name and the event handler will
137137
receive already handled events.

‎lib/commanded/event/upcaster.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defprotocol Commanded.Event.Upcaster do
99
Upcaster will run for new events and for historical events.
1010
1111
Because the upcaster changes any historical event to the latest version,
12-
consumers (aggregates, event handlers, and process managers) only need
12+
consumers (aggregates and event handlers) only need
1313
to support the latest version.
1414
1515
## Example

‎lib/commanded/process_managers/failure_context.ex‎

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)