blob: 291db25ac30ea636c05f9bc30410c45500e75088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
[;1m-spec alias(Opts) -> Alias[0m
[;1m when[0m
[;1m Alias :: reference(),[0m
[;1m Opts :: [explicit_unalias | reply].[0m
[;;4mSince[0m:
OTP @OTP-16718@
Create an alias which can be used when sending messages to the
process that created the alias. When the alias has been
deactivated, messages sent using the alias will be dropped. An
alias can be deactivated using [;;4munalias/1[0m. Currently available
options for [;;4malias/1[0m:
[;;4m[;;4mexplicit_unalias[0m[0m:
The alias can only be deactivated via a call to [;;4munalias/1[0m.
This is also the default behaviour if no options are passed or
if [;;4malias/0[0m is called.
[;;4m[;;4mreply[0m[0m:
The alias will be automatically deactivated when a reply
message sent via the alias is received. The alias can also
still be deactivated via a call to [;;4munalias/1[0m.
|