Type C | Call method | Go type | Bytes (byte) | Numerical range |
---|---|---|---|---|
char | C.char | byte | 1 | -128~127 |
signed char | C.schar | int8 | 1 | -128~127 |
unsigned char | C.uchar | uint8 | 1 | 0~255 |
short int | C.short | int16 | 2 | -32768~32767 |
short unsigned int | C.ushort | uint16 | 2 | 0~65535 |
int | C.int | int | 4 | -2147483648~2147483647 |
unsigned int | C.uint | uint32 | 4 | 0~4294967295 |
long int | C.long | int32 or int64 | 4 | -2147483648~2147483647 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Angular CLI version | Angular version | Node.js version | TypeScript version | RxJS version | |
---|---|---|---|---|---|
~16.0.0 | ~16.0.0 | ^16.13.0 || ^18.10.0 | >=4.9.5 <5.1.0 | ^6.5.5 || ^7.4.0 | |
~15.2.0 | ~15.2.0 | ^14.20.0 || ^16.13.0 || ^18.10.0 | >=4.8.4 <5.0.0 | ^6.5.5 || ^7.4.0 | |
~15.1.0 | ~15.1.0 | ^14.20.0 || ^16.13.0 || ^18.10.0 | >=4.8.4 <5.0.0 | ^6.5.5 || ^7.4.0 | |
~15.0.5 | ~15.0.4 | ^14.20.0 || ^16.13.0 || ^18.10.0 | ~4.8.4 | ^6.5.5 || ^7.4.0 | |
~14.3.0 | ~14.3.0 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.9.0 | ^6.5.5 || ^7.4.0 | |
~14.2.0 | ~14.2.0 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.9.0 | ^6.5.5 || ^7.4.0 | |
~14.1.3 | ~14.1.3 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.8.0 | ^6.5.5 || ^7.4.0 | |
~14.0.7 | ~14.0.7 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.8.0 | ^6.5.5 || ^7.4.0 | |
~13.3.0 | ~13.3.0 | ^12.20.2 || ^14.15.0 || ^16.10.0 | >=4.4.4 <4.7.0 | ^6.5.5 || ^7.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mozilla Public License, version 2.0 | |
1. Definitions | |
1.1. "Contributor" | |
means each individual or legal entity that creates, contributes to the | |
creation of, or owns Covered Software. | |
1.2. "Contributor Version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { fromEvent, partition, pipe } from "rxjs"; | |
import { shareReplay, takeUntil, repeatWhen } from "rxjs/operators"; | |
// 🛑 unsubscribes when the browser tab is not active | |
// ✅ resubscribe when it is becomes active again | |
export function whilePageIsVisible() { | |
const visibilityChange$ = fromEvent(document, "visibilitychange").pipe( | |
shareReplay({ refCount: true, bufferSize: 1 }) | |
); |
OlderNewer