Skip to content

Commit

Permalink
BREAKING(signal): deprecate signal module (#3568)
Browse files Browse the repository at this point in the history
  • Loading branch information
lino-levan authored Aug 25, 2023
1 parent d36beb2 commit c96fff7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions signal/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Higher level API for dealing with OS signals.
*
* @module
* @deprecated (will be removed in 1.0.0) Use the Deno signals API instead
*/

import { MuxAsyncIterator } from "../async/mux_async_iterator.ts";
Expand Down Expand Up @@ -31,6 +32,8 @@ export type Disposable = { dispose: () => void };
* ```
*
* @param signals - one or more signals to listen to
*
* @deprecated (will be removed in 1.0.0) Use the Deno signals API instead
*/
export function signal(
...signals: [Deno.Signal, ...Deno.Signal[]]
Expand Down

0 comments on commit c96fff7

Please sign in to comment.