File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
177177 < a name ="destroy " class ="tsd-anchor "> </ a >
178178 < h3 > destroy</ h3 >
179179 < ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-interface ">
180- < li class ="tsd-signature tsd-kind-icon "> destroy< span class ="tsd-signature-symbol "> (</ span > options< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-symbol "> { </ span > force< span class ="tsd-signature-symbol "> ?: </ span > < span class ="tsd-signature-type "> boolean</ span > < span class ="tsd-signature-symbol "> }</ span > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> void</ span > < span class ="tsd-signature-symbol "> ></ span > </ li >
180+ < li class ="tsd-signature tsd-kind-icon "> destroy< span class ="tsd-signature-symbol "> (</ span > options< span class ="tsd-signature-symbol "> ? : </ span > < span class ="tsd-signature-symbol "> { </ span > force< span class ="tsd-signature-symbol "> ?: </ span > < span class ="tsd-signature-type "> boolean</ span > < span class ="tsd-signature-symbol "> }</ span > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> void</ span > < span class ="tsd-signature-symbol "> ></ span > </ li >
181181 </ ul >
182182 < ul class ="tsd-descriptions ">
183183 < li class ="tsd-description ">
@@ -189,7 +189,7 @@ <h3>destroy</h3>
189189 < h4 class ="tsd-parameters-title "> Parameters</ h4 >
190190 < ul class ="tsd-parameters ">
191191 < li >
192- < h5 > options: < span class ="tsd-signature-symbol "> { </ span > force< span class ="tsd-signature-symbol "> ?: </ span > < span class ="tsd-signature-type "> boolean</ span > < span class ="tsd-signature-symbol "> }</ span > </ h5 >
192+ < h5 > < span class =" tsd-flag ts-flagOptional " > Optional </ span > options: < span class ="tsd-signature-symbol "> { </ span > force< span class ="tsd-signature-symbol "> ?: </ span > < span class ="tsd-signature-type "> boolean</ span > < span class ="tsd-signature-symbol "> }</ span > </ h5 >
193193 < ul class ="tsd-parameters ">
194194 < li class ="tsd-parameter ">
195195 < h5 > < span class ="tsd-flag ts-flagOptional "> Optional</ span > force< span class ="tsd-signature-symbol "> ?: </ span > < span class ="tsd-signature-type "> boolean</ span > </ h5 >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { ModuleMethods } from 'threads/dist/types/master';
33import type { QueuedTask } from 'threads/dist/master/pool-types' ;
44
55interface WorkerManagerInterface < W extends ModuleMethods > {
6- destroy ( options : { force ?: boolean } ) : Promise < void > ;
6+ destroy ( options ? : { force ?: boolean } ) : Promise < void > ;
77 call < T > ( f : ( worker : ModuleThread < W > ) => Promise < T > ) : Promise < T > ;
88 queue < T > (
99 f : ( worker : ModuleThread < W > ) => Promise < T > ,
You can’t perform that action at this time.
0 commit comments