mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
24 lines
558 B
Markdown
24 lines
558 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [share](./bitburner.ns.share.md)
|
|
|
|
## NS.share() method
|
|
|
|
Share the server's ram with your factions.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
share(): Promise<void>;
|
|
```
|
|
**Returns:**
|
|
|
|
Promise<void>
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 2.4 GB
|
|
|
|
Increases rep/second for all faction work while share is running. Each cycle of ns.share() is 10 seconds. Scales with thread count, but at a sharply decreasing rate.
|
|
|